kubectl set
Configure application resources
Subcommands
Name | Description |
---|---|
env | Update environment variables on a pod template |
image | Update existing container image(s) of resources |
resources | Specify compute resource requirements (cpu, memory) for any resource that defines a pod template. If a pod is successfully scheduled, it is guaranteed the amount of resource requested, but may burst up to its specified limits |
selector | Set the selector on a resource. Note that the new selector will overwrite the old selector if the resource had one prior to the invocation of 'set selector' |
serviceaccount | Update ServiceAccount of pod template resources |
subject | Update User, Group or ServiceAccount in a RoleBinding/ClusterRoleBinding |