title: Understanding built-in Labels
body: <p>I'm new to kubernetes and I'm trying to understand how labels work on a node. We have eks server version 1.14 running in our organization. I'm trying to change built-in deprecated labels.</p>
  
  <p>In aws-node daemonset, I want to replace beta.kubernetes.io/os to kubernetes.io/os and beta.kubernetes.io/arch to kubernetes.io/arch.</p>
  
  <p>Since it both beta.kubernetes.io/arch and kubernetes.io/arch labels when i describe a node. </p>
  
  <ul>
  <li>Is it safe to go ahead remove the beta.kubernetes.io/arch and
  beta.kubernetes.io/os labels?  </li>
  <li>I want to understand if I change the label, what are its effects?</li>
  <li>Does Pods running on that node are affected? </li>
  <li>Can apiVersion: apps/v1 change built-in labels?</li>
  <li>Can I just run <code>kubectl label node "node-name" beta.kubernetes.io/arch=amd64 -</code> to remove the labels?</li>
  <li><p>Is there a need to apply the daemonset ?</p>
  
  <pre><code>kind: DaemonSet
  apiVersion: apps/v1
  metadata:
    name: aws-node
    namespace: kube-system
    labels:
      k8s-app: aws-node
  spec:
    updateStrategy:
      type: RollingUpdate
    selector:
      matchLabels:
        k8s-app: aws-node
    template:
      metadata:
        labels:
          k8s-app: aws-node
      spec:
        priorityClassName: system-node-critical
        affinity:
          nodeAffinity:
            requiredDuringSchedulingIgnoredDuringExecution:
              nodeSelectorTerms:
                - matchExpressions:
                    - key: "beta.kubernetes.io/os"
                      operator: In
                      values:
                        - linux
                    - key: "beta.kubernetes.io/arch"
                      operator: In
                      values:
                        - amd64
  </code></pre>
  
  <p>kubectl describe node/ip-10-xx-xx-xx.ec2.internal -n kube-system</p></li>
  </ul>
  
  <pre><code>    Labels:             beta.kubernetes.io/arch=amd64
                          beta.kubernetes.io/instance-type=c4.xlarge
                          beta.kubernetes.io/os=linux
                          failure-domain.beta.kubernetes.io/region=us-east-1
                          failure-domain.beta.kubernetes.io/zone=us-east-1a
                          group=nodes
                          kubernetes.io/arch=amd64
                          kubernetes.io/hostname=ip-10-182-32-156.ec2.internal
                          kubernetes.io/os=linux
  
  </code></pre>