Helm: could not find tiller

Try deleting your cluster tiller kubectl get all –all-namespaces | grep tiller kubectl delete deployment tiller-deploy -n kube-system kubectl delete service tiller-deploy -n kube-system kubectl get all –all-namespaces | grep tiller Initialise it again: helm init Now add the service account: kubectl create serviceaccount –namespace kube-system tiller kubectl create clusterrolebinding tiller-cluster-rule –clusterrole=cluster-admin –serviceaccount=kube-system:tiller kubectl patch … Read more

Using Keycloak behind a reverse proxy: Could not open Admin loginpage because mixed Content

This sounds somehow like a duplicate of Keycloak Docker behind loadbalancer with https fails Set the request headers X-Forwarded-For and X-Forwarded-Proto in nginx. Then you have to configure Keycloak (Wildfly, Undertow) to work together with the SSL terminating reverse proxy (aka load balancer). See http://www.keycloak.org/docs/latest/server_installation/index.html#_setting-up-a-load-balancer-or-proxy for a detailed description. The point is that nginx is … Read more

HTTPS request in NodeJS

Comparing what headers curl and node sent, i found that adding: headers: { accept: ‘*/*’ } to options fixed it. To see which headers curl sends, you can use the -v argument. curl -vIX GET https://openshift.redhat.com/broker/rest/api In node, just console.log(req._headers) after req.end(). Quick tip: You can use https.get(), instead of https.request(). It will set method … Read more

What does “#!/bin/env” mean (at the top of a node.js script)?

The full line from your example is: #!/bin/env node This simply means that the script should be executed with the first executable named ‘node’ that’s found in your current PATH. The shebang (#!) at the start means execute the script with what follows. /bin/env is a standard unix program that looks at your current environment. … Read more

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

First line of the error message describes the error type: “PDOException”. The next line displays PDO::errorInfo, i.e: SQLSTATE error code (a five characters alphanumeric identifier defined in the ANSI SQL standard). Driver-specific error code. Driver-specific error message. “HY000” is a general server error (see Server Error Codes and Messages in MySQL docs). “2002” is MySQL … Read more

How does docker compare to openshift?

The primary difference is that Docker as a project is focused on the runtime container only, whereas OpenShift (as a system) includes both the runtime container as well as the REST API, coordination, and web interfaces to deploy and manage individual containers. Comparing just the runtime containers, OpenShift and Docker both use kernel isolation features … Read more

OpenShift rhc setup using multiple accounts

The rhc command-line tools come with the global option -l, –rhlogin LOGIN. You have two options: Use the -l flag with every command to specify the login name: rhc app create <appname> <cartridge> [-l <login1/login2>] Run rhc setup -l LOGIN between the sessions. Once done managing apps from one account you can end the session … Read more

What is the difference between persistent volume (PV) and persistent volume claim (PVC) in simple terms?

From the docs PVs are resources in the cluster. PVCs are requests for those resources and also act as claim checks to the resource. So a persistent volume (PV) is the “physical” volume on the host machine that stores your persistent data. A persistent volume claim (PVC) is a request for the platform to create … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)