<p>I'm new to Kubernetes and I'm struggling with few error. I want to create Kubernetes Cluster on my local system(mac).</p>

<p>My deployment.yaml --</p>

<pre><code>apiVersion: apps/v1
kind: Deployment
metadata:
  name: sv-premier
spec:
  selector:
    matchLabels:
      app: sv-premier
  template:
    metadata:
      labels:
        app: sv-premier
    spec:
      volumes:
      - name: google-cloud-key
        secret:
          secretName: gcp-key
      containers:
      - name: sv-premier
        image: gcr.io/proto/premiercore1:latest
        imagePullPolicy: Always
        command: ["/bin/sh"]
        args: ["-c", "while true; do echo Done Deploying sv-premier; sleep 3600;done"]
        volumeMounts:
        - name: google-cloud-key
          mountPath: /var/secrets/google
        env:
        - name: GOOGLE_APPLICATION_CREDENTIALS
          value: /var/secrets/google/key.json
        ports:
        - containerPort: 8080
      imagePullSecrets:
      - name: imagepullsecretkey
</code></pre>

<p>I created deployment as - kubectl apply -f deployment.yaml</p>

<blockquote>
  <p>kubectl get pods</p>
</blockquote>

<pre><code>NAME                          READY   STATUS    RESTARTS   AGE
sv-premier-5cc8f599f6-9lrtq   1/1     Running   0          11s
</code></pre>

<blockquote>
  <p>kubectl describe pods sv-premier-5cc8f599f6-9lrtq</p>
</blockquote>

<pre><code>Name:           sv-premier-5cc8f599f6-9lrtq
Namespace:      default
Priority:       0
Node:           docker-desktop/192.168.65.3
Start Time:     Tue, 11 Feb 2020 19:04:21 +0530
Labels:         app=sv-premier
                pod-template-hash=5cc8f599f6
Annotations:    &lt;none&gt;
Status:         Running
IP:             10.1.0.54
IPs:            &lt;none&gt;
Controlled By:  ReplicaSet/sv-premier-5cc8f599f6
Containers:
  sv-premier:
    Container ID:  docker://b8993b4fc43197947649c7409b37e6d381a8d4cbbe56e550bca83931747ddd3e
    Image:         gcr.io/proto/premiercore1:latest
    Image ID:      docker-pullable://gcr.io/proto/premiercore1@sha256:664778c72c3f79147c4c5b73914292a124009591f479a5e3acf42c444eb62860
    Port:          4343/TCP
    Host Port:     0/TCP
    Command:
      /bin/sh
    Args:
      -c
      while true; do echo Done Deploying sv-premier; sleep 3600;done
    State:          Running
      Started:      Tue, 11 Feb 2020 19:04:24 +0530
    Ready:          True
    Restart Count:  0
    Environment:
      GOOGLE_APPLICATION_CREDENTIALS:  /var/secrets/google/key.json
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-s4jgd (ro)
      /var/secrets/google from google-cloud-key (rw)
Conditions:
  Type              Status
  Initialized       True 
  Ready             True 
  ContainersReady   True 
  PodScheduled      True 
Volumes:
  google-cloud-key:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  gcp-key
    Optional:    false
  default-token-s4jgd:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-s4jgd
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  &lt;none&gt;
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type    Reason     Age   From                     Message
  ----    ------     ----  ----                     -------
  Normal  Scheduled  67s   default-scheduler        Successfully assigned default/sv-premier-5cc8f599f6-9lrtq to docker-desktop
  Normal  Pulling    66s   kubelet, docker-desktop  Pulling image "gcr.io/proto/premiercore1:latest"
  Normal  Pulled     64s   kubelet, docker-desktop  Successfully pulled image "gcr.io/proto/premiercore1:latest"
  Normal  Created    64s   kubelet, docker-desktop  Created container sv-premier
  Normal  Started    64s   kubelet, docker-desktop  Started container sv-premier
</code></pre>

<p>Why I am getting this --</p>

<pre><code>Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
</code></pre>

<p>Somebody more experienced than me kindly help</p>

<blockquote>
  <p><strong>Note</strong> Kubernetes automatically adds a toleration for <code>node.kubernetes.io/not-ready</code> and <code>node.kubernetes.io/unreachable</code>. </p>
  
  <p>Kubernetes automatically adds a toleration for
  node.kubernetes.io/not-ready with tolerationSeconds=300 unless the pod
  configuration provided by the user already has a toleration for
  node.kubernetes.io/not-ready. Likewise it adds a toleration for
  node.kubernetes.io/unreachable with tolerationSeconds=300 unless the
  pod configuration provided by the user already has a toleration for
  node.kubernetes.io/unreachable. </p>
  
  <p>These automatically-added tolerations
  ensure that the default pod behavior of remaining bound for 5 minutes
  after one of these problems is detected is maintained.</p>
</blockquote>

<p>Read <a href="https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/#taint-based-evictions" rel="noreferrer">Complete details here</a></p>

<p><strong>The following taints are built in</strong>:</p>

<p><code>node.kubernetes.io/not-ready: Node is not ready</code>. This corresponds to the NodeCondition Ready being “False”.</p>

<p><code>node.kubernetes.io/unreachable</code>: Node is unreachable from the node controller. This corresponds to the NodeCondition Ready being “Unknown”.</p>

<p>More as below :</p>

<p><code>node.kubernetes.io/out-of-disk</code>: Node becomes out of disk.</p>

<p><code>node.kubernetes.io/memory-pressure</code>: Node has memory pressure.</p>

<p><code>node.kubernetes.io/disk-pressure</code>: Node has disk pressure.</p>

<p><code>node.kubernetes.io/network-unavailable</code>: Node’s network is unavailable.</p>

<p><code>node.kubernetes.io/unschedulable</code>: Node is unschedulable.</p>

<p><code>node.cloudprovider.kubernetes.io/uninitialized</code>: When the kubelet is started with “external” cloud provider, this taint is set on a node to mark it as unusable. After a controller from the cloud-controller-manager initializes this node, the kubelet removes this taint.</p>
