May 2019
Intermediate to advanced
442 pages
11h 36m
English
For the sake of this example, we'll deploy yet another service and add it to our Prometheus server, going step by step on how to do it. We'll use a small Hello World type of application called Hey for our setup.
These steps are quite similar to the deployment of the Prometheus server. Start by creating a new deployment for Hey using the following manifest:
apiVersion: apps/v1kind: Deploymentmetadata: name: hey-deployment namespace: monitoring labels: app: hey... - name: hey image: kintoandar/hey:v1.0.1... - name: http containerPort: 8000...
Apply the previous manifest using the following command:
kubectl apply -f hey-deployment.yaml ...
Read now
Unlock full access