

#HAL 9000 SCREENSHOT INSTALL#
Earlier, when we installed Spinnaker using Helm, we went ahead and did the Spinnaker deployment right away, but this time we want to tell Halyard to wait for instructions so we can do some additional configuration before the actual deployment: helm repo add mirantisworkloads helm install -n hal mirantisworkloads/halyard -namespace hal -set command="sleep infinity" -set daemon=true You should see a series of pods in the hal namespace: kubectl get pods -n hal NAME READY STATUS RESTARTS AGE hal-hal-apply-6967cbdb4d-s457x 1/1 Running 0 4m jenkins-hal-5549f48b6b-scq9k 1/1 Running 0 4m minio-hal-0 1/1 Running 0 5m minio-hal-1 1/1 Running 0 5m minio-hal-2 1/1 Running 0 5m minio-hal-3 1/1 Running 0 5m prom-prometheus-alertmanager-794b44784f-bchbh 2/2 Running 0 7m prom-prometheus-kube-state-metrics-7b5b5f55-kfb28 1/1 Running 0 7m prom-prometheus-node-exporter-dsq9d 1/1 Running 0 7m prom-prometheus-pushgateway-78d69775d8-hgk4l 1/1 Running 0 7m prom-prometheus-server-689675c8f4-wbtzp 2/2 Running 0 7m Now let’s get into the halyard pod to configure kayenta. Spinnaker is installed and configured using Halyard, so we're going to go ahead and install that using Helm. Install and configure Spinnaker The first step is to go ahead and install Spinnaker. Now that that's out of the way, let's get into the actual project. If you don't, you can install it on your Kubernetes cluster using: helm install -n prom stable/prometheus -namespace hal
#HAL 9000 SCREENSHOT FREE#
If you need something to work with, feel free to use this YAML file for a sample app: apiVersion: extensions/v1beta1 kind: Deployment metadata: labels: app: demo-app release: canary name: demo-app-canary spec: replicas: 1 template: metadata: labels: app: demo-app release: canary spec: containers: - image: kshatrix/canary-demo name: demo-app readinessProbe: httpGet: path: / port: 80 initialDelaySeconds: 5 periodSeconds: 2 - apiVersion: v1 kind: Service metadata: annotations: prometheus.io/path: / prometheus.io/port: "8000" prometheus.io/scrape: "true" labels: app: demo-app release: canary name: demo-app-canary spec: ports: - name: http port: 80 - name: http-metrics port: 8000 selector: app: demo-app You have an existing application you want to track.Helm init -service-account tiller -upgrade Kubectl create clusterrolebinding tiller -clusterrole cluster-admin -serviceaccount=kube-system:tiller The easiest way to do the initialization is: kubectl -n kube-system create sa tiller Check out this article for information on installing Helm. You've already installed Helm and initialized it with a service account.In our example, we used a Google Kubernetes Engine cluster with 4 vCPU and 26 GB of RAM. You've already created (or have access to) a Kubernetes cluster big enough to handle both Spinnaker and Prometheus.You can get more information and background here. You've got a general idea of how canary deployments work in terms of the way configurations work, and so on.
#HAL 9000 SCREENSHOT HOW TO#
