package
0.14.0
Repository: https://github.com/tcnghia/net-http01.git
Documentation: pkg.go.dev

# 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:

  1. Deploy the load balance service.

    kubectl apply -f cmd/sample/service.yaml
    
  2. Wait for the service to receive an IP or CNAME.

    watch kubectl get svc sample
    
  3. 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.

  4. Wait for the DNS record to go live.

    watch dig your-domain-name.io
    
  5. Edit sample.yaml to pass the domain name.

    args:
      - "-domain=your-domain-name.io"
    
  6. Deploy the application.

    ko apply -Bf cmd/sample/sample.yaml
    
  7. Curl the application:

    watch curl https://your-domain-name.io