Skip to content

Instantly share code, notes, and snippets.

@makocchi-git
Created January 22, 2020 08:54
Show Gist options
  • Save makocchi-git/dc123a077cfb68b169c68589a58c4179 to your computer and use it in GitHub Desktop.
Save makocchi-git/dc123a077cfb68b169c68589a58c4179 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: invalid-deployment
spec:
replicas: 1
selector:
matchLabels:
app: example
template:
metadata:
labels:
app: example
spec:
location: japan
containers:
- image: makocchi/docker-nginx-hostname:latest
name: docker-nginx-hostname
ports:
- containerPort: 80
name: http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment