mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
update service.json in persistent-volume example to v1beta3
This commit is contained in:
parent
5461231c1c
commit
7476ca0090
@ -1,9 +1,19 @@
|
|||||||
{
|
{
|
||||||
"apiVersion": "v1beta1",
|
"kind": "Service",
|
||||||
"kind": "Service",
|
"apiVersion": "v1beta3",
|
||||||
"id": "frontendservice",
|
"metadata": {
|
||||||
"port": 3000,
|
"name": "frontendservice"
|
||||||
"containerPort": "http-server",
|
},
|
||||||
"selector": { "name": "frontendhttp" },
|
"spec": {
|
||||||
"createExternalLoadBalancer": false
|
"ports": [
|
||||||
|
{
|
||||||
|
"protocol": "TCP",
|
||||||
|
"port": 3000,
|
||||||
|
"targetPort": "http-server"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"selector": {
|
||||||
|
"name": "frontendhttp"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user