A kubernetes hello world operator in rust.
kubectl apply -f https://raw.githubusercontent.com/JensWalter/hello-world-operator-rs/master/deploy/service-account.yaml
kubectl apply -f https://raw.githubusercontent.com/JensWalter/hello-world-operator-rs/master/deploy/operator.yaml
kubectl apply -f https://raw.githubusercontent.com/JensWalter/hello-world-operator-rs/master/deploy/crd-members.yaml
To install a custom resource, you can use the samples provided from examples directory.
kubectl apply -f https://raw.githubusercontent.com/JensWalter/hello-world-operator-rs/master/examples/member1.yaml
This leads to the following output on the operator pod.
welcome spongebob
kubectl apply -f https://raw.githubusercontent.com/JensWalter/hello-world-operator-rs/master/examples/member2.yaml
This leads to the following output on the operator pod.
welcome patrick to the team blue
check out the git repo.
docker build -t hello-world-operator-rs .
docker tag hello-world-operator-rs gcr.io/apimeister/hello-world-operator-rs
docker push gcr.io/apimeister/hello-world-operator-rs
kubectl delete -f https://raw.githubusercontent.com/JensWalter/hello-world-operator-rs/master/deploy/service-account.yaml kubectl delete -f https://raw.githubusercontent.com/JensWalter/hello-world-operator-rs/master/deploy/operator.yaml kubectl delete -f https://raw.githubusercontent.com/JensWalter/hello-world-operator-rs/master/deploy/crd-person.yaml