<p>Hello i have a single node cluster where i have advertised the extended resource named &quot;sctrls&quot; to the node softserv1141 by following the docs at <a href="https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/" rel="nofollow noreferrer">kubernetes-extended-resource</a>. Over here i ran the command:</p>
<pre><code>kubectl get nodes -o yaml
</code></pre>
<p>for which the output contained the following part which means the resource creation was successful.</p>
<pre><code>status:
addresses:
- address: 172.16.250.120
  type: InternalIP
- address: softserv1141
  type: Hostname
allocatable:
  cpu: &quot;3&quot;
  ephemeral-storage: &quot;7721503937&quot;
  hugepages-1Gi: &quot;0&quot;
  hugepages-2Mi: &quot;0&quot;
  memory: 16163880Ki
  pods: &quot;110&quot;
  sctrls: &quot;64&quot;
capacity:
  cpu: &quot;3&quot;
  ephemeral-storage: 8182Mi
  hugepages-1Gi: &quot;0&quot;
  hugepages-2Mi: &quot;0&quot;
  memory: 16266280Ki
  pods: &quot;110&quot;
  sctrls: &quot;64&quot;
</code></pre>
<p>I tried creating assigning the extended resource to a pod and creating it by following the docs at <a href="https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/" rel="nofollow noreferrer">kubernetes-assign-extended-resource-pod</a>.
the pod file is as follows</p>
<pre><code>$ cat nginx-pod.yaml 
apiVersion: v1
kind: Pod
metadata:
  name: extended-resource-demo
spec:
  containers:
  - name: extended-resource-demo-ctr
    image: nginx
    resources:
      requests:
        sctrls: 3
</code></pre>
<p>I got the following problem during pod creation</p>
<pre><code>$ kubectl create -f nginx-pod.yaml 
The Pod &quot;extended-resource-demo&quot; is invalid: 
* spec.containers[0].resources.limits[sctrls]: Invalid value: &quot;sctrls&quot;: must be a standard resource type or fully qualified
* spec.containers[0].resources.limits[sctrls]: Invalid value: &quot;sctrls&quot;: must be a standard resource for containers
* spec.containers[0].resources.requests[sctrls]: Invalid value: &quot;sctrls&quot;: must be a standard resource type or fully qualified
* spec.containers[0].resources.requests[sctrls]: Invalid value: &quot;sctrls&quot;: must be a standard resource for containers
</code></pre>
<p>I dont know why i am getting this error and havent found any good solution to this online. But i feel it might be the kubectl version as the <a href="https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/" rel="nofollow noreferrer">docs</a> mention this as a feature state : Kubernetes v1.18 [stable] where as my kubectl version is</p>
<pre><code>$ kubectl version
Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;16&quot;, GitVersion:&quot;v1.16.8&quot;, GitCommit:&quot;ec6eb119b81be488b030e849b9e64fda4caaf33c&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-03-12T21:00:06Z&quot;, GoVersion:&quot;go1.13.8&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;16&quot;, GitVersion:&quot;v1.16.8&quot;, GitCommit:&quot;ec6eb119b81be488b030e849b9e64fda4caaf33c&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-03-12T20:52:22Z&quot;, GoVersion:&quot;go1.13.8&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
</code></pre>
<p>I need to confirm if that is the problem or there is an untested solution.</p>

<p>Looks like this paragraph from the <a href="https://kubernetes.io/docs/tasks/configure-pod-container/extended-resource/#assign-an-extended-resource-to-a-pod" rel="nofollow noreferrer">docs</a> has the answer: &quot;Extended resources are fully qualified with any domain outside of *.kubernetes.io/. <strong>Valid extended resource names have the form example.com/foo</strong> where example.com is replaced with your organization's domain and foo is a descriptive resource name.&quot;.</p>
