Nginx Ingress with scope

To access services deployed in your GKE cluster, you can use nginx ingress controller. You can quickly deploy nginx ingress controller via stable helm-charts. Nginx ingress controller will scan entire namespaces and will update the nginx configurations base on you ingress objects. If you want to limit your scope of nginx ingress controller, you can do that via enabling ‘scope’ and indicating which namespace you want for your scope. Enable scope in helm values file...

July 2, 2019 · 2 min · 402 words · Me

Prometheus with Openshift 3.2

Create Service accounts for the project you deploying the prometheus pod. oc create serviceaccount -n oadm policy add-cluster-role-to-user cluster-reader system:serviceaccount:: oc create serviceaccount metrics -n paas-prometheus oadm policy add-cluster-role-to-user cluster-reader system:serviceaccount:paas-prometheus:metrics Creating the Docker image #Base Image FROM docker.io/prom/prometheus #copy the config yaml file to the directory ADD prometheus.yml /etc/prometheus/ #expose the port EXPOSE 9090 Prometheus.yml File global: scrape_interval: 10s evaluation_interval: 10s rule_files: - "*.rules" scrape_configs: - job_name: 'kubernetes-cluster' tls_config: ca_file: /var/run/secrets/kubernetes....

October 2, 2017 · 3 min · 469 words · Me

Welcome to My Miscellany

By profession I am a DevOps Engineer who live in New Zealand. You will find posts related to computing, travel and things I am interested in.

March 29, 2017 · 1 min · 26 words · Me