Installing Microservices on Kubernetes
Step 1
Deploy the transactions generator to Kubernetes
Now, we can deploy the data generator using the flink-demo-generator.yaml deployment definition:
$ kubectl apply -f https://raw.githubusercontent.com/dcos/demos/master/flink-k8s/1.11/generator/flink-demo-generator.yaml
We can check the status of the deployment:
kubectl get deployments
kubectl get pods
We can also view the log output to make sure it is generating events as expected (you will need to use the actual pod id from the previous command):
kubectl logs flink-demo-generator-<your pod ID from "kubectl get pods" command above>