Difference between ClusterIP, NodePort and LoadBalancer service types in Kubernetes?

A ClusterIP exposes the following: spec.clusterIp:spec.ports[*].port You can only access this service while inside the cluster. It is accessible from its spec.clusterIp port. If a spec.ports[*].targetPort is set it will route from the port to the targetPort. The CLUSTER-IP you get when calling kubectl get services is the IP assigned to this service within the … Read more

Node didn’t find available persistent volumes to bind

It was my bad. Due to following blog post: https://kubernetes.io/blog/2018/04/13/local-persistent-volumes-beta/ Note that there’s a new nodeAffinity field in the PersistentVolume object: this is how the Kubernetes scheduler understands that this PersistentVolume is tied to a specific node. nodeAffinity is a required field for local PersistentVolumes. and my value was incorrect. I changed it to my … Read more

Sticky sessions on Kubernetes cluster

I looked into this matter and I have found solution to your issue. To achieve sticky session for both paths you will need two definitions of ingress. I created example configuration to show you the whole process: Steps to reproduce: Apply Ingress definitions Create deployments Create services Create Ingresses Test I assume that the cluster … Read more

no endpoints available for service \”kubernetes-dashboard\”

It would appear that you are attempting to deploy Kubernetes leveraging kubeadm but have skipped the step of Installing a pod network add-on (CNI). Notice the warning: The network must be deployed before any applications. Also, CoreDNS will not start up before a network is installed. kubeadm only supports Container Network Interface (CNI) based networks … Read more

” Kubernetes is starting …..” forever error on windows 10 [closed]

I stucked in two kinds of error system pods running, found labels but still waiting for labels… xxxx: EOF I finally sovled it by following the advice by the following project, https://github.com/AliyunContainerService/k8s-for-docker-desktop/ Do as it told you, if not work, remove ~/.kube and ~/Library/Group\ Containers/group.com.docker/pki directory, then restart docker desktop and wait like 5 minutes. … Read more

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