{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"labels": {
"app": "svc2"
},
"name": "svc2",
"namespace": "edit-test"
},
"spec": {
"ports": [
{
"name": "80",
"port": 80,
"protocol": "TCP",
"targetPort": 81
}
],
"selector": {
"app": "svc2",
"new-label": "new-value"
},
"sessionAffinity": "None",
"type": "ClusterIP"
}
}