Skip to content

Experimental repository to explore an operator for deploying Contour

License

Notifications You must be signed in to change notification settings

bmcelvee/contour-operator

 
 

Repository files navigation

contour-operator

Deploy and manage Contour using an operator.

Building

To build the operator, run:

make manager

Developing

Prerequisites

Install the Contour Operator & Contour CRDs:

make install

Run the operator locally or in the cluster .

To run the operator locally. Note: This will run in the foreground, so switch to a new terminal if you want to leave it running:

make run

To run the operator in a cluster:

make deploy

Verify the deployment is available (not needed if running the operator locally):

$ kubectl get deploy -n contour-operator
NAME                                  READY   UP-TO-DATE   AVAILABLE   AGE
contour-operator-controller-manager   1/1     1            1           1m

Install an instance of the Contour custom resource:

kubectl apply -f config/samples/

Verify the Contour and Envoy pods are running/completed:

$ kubectl get po -n projectcontour
NAME                       READY   STATUS      RESTARTS   AGE
contour-7649c6f6cc-ct5rz   1/1     Running     0          116s
contour-7649c6f6cc-dmbrc   1/1     Running     0          116s
contour-certgen-rmz86      0/1     Completed   0          116s
envoy-jrhsp                2/2     Running     0          116s

Test with Ingress:

kubectl apply -f https://projectcontour.io/examples/kuard.yaml

Test with HTTPProxy:

kubectl apply -f https://projectcontour.io/examples/kuard-httpproxy.yaml

About

Experimental repository to explore an operator for deploying Contour

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.7%
  • Makefile 3.6%
  • Shell 2.0%
  • Dockerfile 0.7%