Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 3, 2020 10:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/c3e09cf14dcb35b2c387ee60d0de6175 to your computer and use it in GitHub Desktop.
Save velotiotech/c3e09cf14dcb35b2c387ee60d0de6175 to your computer and use it in GitHub Desktop.
# cat /tmp/gcp-service.yaml
apiVersion: v1
kind: Service
metadata:
labels:
app: migrate-lamp
name: migrate-lamp
spec:
ports:
- name: migrate-lamp-3306
port: 3306
- name: migrate-lamp-80
port: 80
- name: migrate-lamp-22
port: 22
selector:
app: migrate-lamp
type: LoadBalancer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment