Horje
kubectl patch annotation Code Example
kubectl patch annotation
#Replace the forward slash (/) in kubernetes.io/ingress.class with ~1.
#Your command should look like this,

$ kubectl patch ingress mying --type='json' -p='[{"op": "add", "path": "/metadata/annotations/kubernetes.io~1ingress.class", "value":"nginx"}]'
#Reference: RFC 6901 https://www.rfc-editor.org/rfc/rfc6901#section-3
kubectl patch annotation
#much easier for me was to annotate rather than patch:

kubectl annotate ingress mying kubernetes.io/ingress.class=value --dry-run=client -o yaml
kubectl annotate ingress mying kubernetes.io/ingress.class=value

#add --dry-run -o yaml flags if you want to test it before applying the change.




Shell

Related
switch content two files linux Code Example switch content two files linux Code Example
json rpc ethereum Code Example json rpc ethereum Code Example
pip install fork branch Code Example pip install fork branch Code Example
add vite to existing project Code Example add vite to existing project Code Example
ubuntu list compillers Code Example ubuntu list compillers Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8