@vroomlabs/gsdk-deploy
Version:
Google Cloud deployment script for kubernetes clusters using Global Load Balancer
25 lines (24 loc) • 431 B
JSON
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "$SERVICE_NAME",
"namespace": "default"
},
"spec": {
"selector": {
"app": "$SERVICE_NAME"
},
"ports": [
{
"name": "$SERVICE_NAME",
"port": 443,
"protocol": "TCP",
"targetPort": $SSL_PORT,
"nodePort": $NODE_PORT
}
],
"sessionAffinity": "None",
"type": "NodePort"
}
}