-
-
Save nf/e844875f5387371e753aea2f6ea7d243 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: List | |
items: | |
- kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: frontend | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: frontend | |
spec: | |
containers: | |
- name: frontend | |
image: $IMAGE | |
ports: | |
- containerPort: 80 | |
- containerPort: 443 | |
- kind: Service | |
apiVersion: v1 | |
metadata: | |
name: "frontend" | |
spec: | |
selector: | |
app: "frontend" | |
ports: | |
- port: 80 | |
targetPort: 80 | |
- port: 443 | |
targetPort: 443 | |
protocol: "TCP" | |
type: LoadBalancer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment