Chapter 14. Using the Skupper Operator on Kubernetes
The Red Hat Service Interconnect Operator creates and manages Skupper sites in Kubernetes.
14.1. Creating a site using the Skupper Operator Copy linkLink copied to clipboard!
Create a YAML file defining the ConfigMap of the site you want to create.
For example, create
skupper-site.yamlthat provisions a site with a console:apiVersion: v1 kind: ConfigMap metadata: name: skupper-site namespace: my-namespace data: console: "true" flow-collector: "true" console-user: "admin" console-password: "changeme"NoteCurrently, you must enable the console on the same site as you enable the flow collector.
You can also create a site without a console:
apiVersion: v1 kind: ConfigMap metadata: name: skupper-site namespace: my-namespaceApply the YAML to create a ConfigMap named
skupper-sitein the namespace you want to use:$ kubectl apply -f skupper-site.yamlVerify that the site is created by checking that the Skupper router and service controller pods are running:
$ kubectl get pods NAME READY STATUS RESTARTS AGE skupper-router-8c6cc6d76-27562 1/1 Running 0 40s skupper-service-controller-57cdbb56c5-vc7s2 1/1 Running 0 34sNoteIf you deployed the Operator to a single namespace, an additional site controller pod is also running.