Category : google-kubernetes-engine

I walked through the code in a 3 node K8 cluster and doesn’t seem like I am able to block the flow of traffic using networkpolicy on a deployment pod. Here is the the output from the exercise. [email protected]:~$ kubectl get deployment,svc,networkpolicy NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes ClusterIP X.X.X.X <none> 443/TCP 20d [email protected]:~$ ..

Read more

I am running Argo Workflow in GKE and workflow does not show container id while running following command docker ps –all –no-trunc –format={{.Status}}|{{.Label "io.kubernetes.container.name"}}|{{.ID}}|{{.CreatedAt}} Because of this wait container is stuck in a loop, searching for main container to be finished. Source: Docker..

Read more

I’m trying to install elasticsearch on gke based on this tutorial but it’s giving me imagepullbackoff err Events: Type Reason Age From Message —- —— —- —- ——- Normal Scheduled 43s default-scheduler Successfully assigned elastic-system/elastic-operator-0 to gke-cls-test-default-pool-fb827c76-vj15 Warning Failed 26s kubelet Failed to pull image "docker.elastic.co/eck/eck-operator:1.7.1": rpc error: code = Unknown desc = Error response ..

Read more

Am bit confused with the terms Interoperability vs portability in container world. Containers are designed to be portable to run the application on any environment but then does it also solve the problem of interoperability? I guess, I do not understand what does interoperable really means but does the OCI specs solve the problem of ..

Read more

I have a Kubernetes cluster. Inside my cluster is a Django application which needs to connect to my Kubernetes cluster on GKE. Upon my Django start up (inside my Dockerfile), I authenticate with Google Cloud by using: gcloud auth activate-service-account $GKE_SERVICE_ACCOUNT_NAME –key-file=$GOOGLE_APPLICATION_CREDENTIALS gcloud config set project $GKE_PROJECT_NAME gcloud container clusters get-credentials $GKE_CLUSTER_NAME –zone $GKE_ZONE I ..

Read more