move deploy Deploying the operator section in the end
This commit is contained in:
parent
0fd498d4d3
commit
794ad96c88
37
README.md
37
README.md
|
|
@ -85,6 +85,24 @@ to test your that your setup is working.
|
||||||
|
|
||||||
Note: if you use multiple kubernetes clusters, you can switch to minikube with `kubectl config use-context minikube`
|
Note: if you use multiple kubernetes clusters, you can switch to minikube with `kubectl config use-context minikube`
|
||||||
|
|
||||||
|
### Deploy etcd
|
||||||
|
|
||||||
|
Etcd is required to deploy the operator.
|
||||||
|
|
||||||
|
$ kubectl --context minikube create -f https://raw.githubusercontent.com/coreos/etcd/master/hack/kubernetes-deploy/etcd.yml
|
||||||
|
|
||||||
|
### Create ConfigMap
|
||||||
|
|
||||||
|
ConfigMap is used to store configuration of the operator
|
||||||
|
|
||||||
|
$ kubectl --context minikube create -f manifests/configmap.yaml
|
||||||
|
|
||||||
|
### Deploy fake Teams API
|
||||||
|
|
||||||
|
Teams API is used as a source of human users.
|
||||||
|
|
||||||
|
$ kubectl --context minikube create -f manifests/fake-teams-api.yaml
|
||||||
|
|
||||||
### Deploying the operator
|
### Deploying the operator
|
||||||
|
|
||||||
You need to install the service account definition in your minikube cluster. You can run without it, but then you
|
You need to install the service account definition in your minikube cluster. You can run without it, but then you
|
||||||
|
|
@ -105,25 +123,6 @@ The last line changes the docker image tag in the manifest to the one the operat
|
||||||
the serviceAccountName definition, as the ServiceAccount is not defined in minikube (neither it should, as one has admin
|
the serviceAccountName definition, as the ServiceAccount is not defined in minikube (neither it should, as one has admin
|
||||||
permissions there).
|
permissions there).
|
||||||
|
|
||||||
### Deploy etcd
|
|
||||||
|
|
||||||
Etcd is required to deploy the operator.
|
|
||||||
|
|
||||||
$ kubectl --context minikube create -f https://raw.githubusercontent.com/coreos/etcd/master/hack/kubernetes-deploy/etcd.yml
|
|
||||||
|
|
||||||
### Create ConfigMap
|
|
||||||
|
|
||||||
ConfigMap is used to store configuration of the operator
|
|
||||||
|
|
||||||
$ kubectl --context minikube create -f manifests/configmap.yaml
|
|
||||||
|
|
||||||
### Deploy fake Teams API
|
|
||||||
|
|
||||||
Teams API is used as a source of human users.
|
|
||||||
|
|
||||||
$ kubectl --context minikube create -f manifests/fake-teams-api.yaml
|
|
||||||
|
|
||||||
|
|
||||||
### Check if ThirdPartyResource has been registered
|
### Check if ThirdPartyResource has been registered
|
||||||
|
|
||||||
$ kubectl --context minikube get thirdpartyresources
|
$ kubectl --context minikube get thirdpartyresources
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue