Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A mysql service example
{
"kind": "Service",
"apiVersion": "v1beta3",
"metadata": {
"name": "mysql"
},
"spec": {
"ports": [
{
"name": "mysql",
"protocol": "TCP",
"port": 3306,
"targetPort": 3306
}
],
"selector": {
"name": "mysql"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment