Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kubernetes add or remove label from existing resource

# this will create a label “group” with a value of “main”
kubectl label pod/metadata-demo group=main


# remove the “group” label from the resource
kubectl label pod/metadata-demo group-
Comment

PREVIOUS NEXT
Code Example
Shell :: How to show date and complete time on the Ubuntu Top Panel 
Shell :: platform cli 
Shell :: virtual network is not active 
Shell :: cmd command pipe file to clipboard 
Shell :: linux cli chart 
Shell :: vnc share single window 
Shell :: how to create security group using aws cli 
Shell :: install wsl using this powershell script 
Shell :: Guthub Funding.yml 
Shell :: bash mkdir 
Shell :: colcon build single package 
Shell :: how to delete a git branch locally and remotely 
Shell :: enable vault autocomplete 
Shell :: linux split with filename extension 
Shell :: curl time response 
Shell :: zsh bash count directories 
Shell :: creating splash screen for nativescript 
Shell :: prisma format schema 
Shell :: migrate git repository 
Shell :: install tesseract-ocr jpn 
Shell :: install wine in ubuntu 20.04 
Shell :: bundle uninstall old gems 
Shell :: apache2 default url 
Shell :: create user in linux 
Shell :: spoof commit date 
Shell :: find hidden directories and files from a website wfuzz 
Shell :: git sync branch from master 
Shell :: cli50 install with pip3 
Shell :: enale scp in ubuntu 
Shell :: install gdal django rest 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =