<p>Does anyone have a clue why ".spec.replicas" would return this strange hex value?</p>

<pre><code>kubectl get rc -o=custom-columns=NAME:metadata.name,REPLICAS:.spec.replicas
NAME                      REPLICAS
devopsproxy               0xc20811d328
prd-devopsproxy-rs-etl    0xc20811d448
</code></pre>

<p>Thanks,
Drew</p>

<p>The replicas field is a pointer: <a href="https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/api/core/v1/types.go#L3036" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/api/core/v1/types.go#L3036</a></p>

<p>It is not getting dereferenced to show you the literal value, but is displaying the memory address of the field</p>

<p>What version of kubectl are you using? This displays correctly for me:</p>

<pre><code>$ kubectl get rc -o=custom-columns=NAME:metadata.name,REPLICAS:.spec.replicas
NAME       REPLICAS
frontend   1
</code></pre>
