Relative Content

Tag Archive for kuberneteskubectlcustomcolumn

How can I combine end select elements into -ocustom-columns?

How to use -ocustom-colums to achieve the same effect as in the PORT(s) column of the kubectl get service command (i.e. using / to concatenate the values ​​of the .spec.ports.port and .spec.ports.protocol pairs) # kubectl get service web NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE web ClusterIP 10.222.0.1 <none> 443/TCP 57d # kubectl get service web […]