mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-04-12 12:26:23 -04:00
26 lines
295 B
Text
26 lines
295 B
Text
|
|
{
|
||
|
|
"metadata": {
|
||
|
|
"labels": {
|
||
|
|
"newvalue": "modified"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"spec": {
|
||
|
|
"$setElementOrder/ports": [
|
||
|
|
{
|
||
|
|
"port": 83
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"ports": [
|
||
|
|
{
|
||
|
|
"name": "80",
|
||
|
|
"port": 83,
|
||
|
|
"protocol": "TCP",
|
||
|
|
"targetPort": 81
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"$patch": "delete",
|
||
|
|
"port": 82
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|