Skip to content

Instantly share code, notes, and snippets.

@myugan
Created February 7, 2021 12:03
Show Gist options
  • Save myugan/6c500be17dc7cad3883e389205bd32c6 to your computer and use it in GitHub Desktop.
Save myugan/6c500be17dc7cad3883e389205bd32c6 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: webserver
name: webserver
namespace: development
spec:
replicas: 1
selector:
matchLabels:
app: webserver
template:
metadata:
labels:
app: webserver
spec:
containers:
- image: httpd
name: apache
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment