# README
net-http01 sample
This small sample can be used to test the core libraries without all of the rest of knative.dev/serving.
Instructions:
-
Deploy the load balance service.
kubectl apply -f cmd/sample/service.yaml
-
Wait for the service to receive an IP or CNAME.
watch kubectl get svc sample
-
Configure a DNS record for the IP or Hostname.
If the service has an external IP, create an
A
record.If the service has a hostname, create a
CNAME
record. -
Wait for the DNS record to go live.
watch dig your-domain-name.io
-
Edit
sample.yaml
to pass the domain name.args: - "-domain=your-domain-name.io"
-
Deploy the application.
ko apply -Bf cmd/sample/sample.yaml
-
Curl the application:
watch curl https://your-domain-name.io