CoreOS: Adding CA certificates to list of trusted CA’s in system

In CoreOS if you want to add CA certificate to the list of trusted CA”s in the system, there are 2 options. Using “/usr/share/pki/ca-trust-source/” directory: /usr/share/pki/ca-trust-source/ contains CA certificates and trust settings in the PEM file format. The trust settings found in this directory will be interpreted with a low priority. To add a certificate … Read more

Use Ingress to direct traffic to an HTTPS backend

Recently working on exposing an application which was running on HTTPS port, I used following yaml to create ingress. Note here that backend service “connaisseur-svc-health” was redirecting traffic to a pod which was listening on HTTPS port only. Therefore backend service was only reachable via HTTPS . When accessing this via Ingress I got an … Read more

OpenShift – kubectl get custom output using JSONPath and custom-columns.

Sometimes we may want to get custom output from oc/kubectl commands when looking for k8 cluster objects like namespace, pods, etc. In this article, we will explain how to use JSONPath or custom column options to customize the kubectl output. We will use ‘service’ as an example. 1. JSONPath Query JSONPath is a query language for … Read more