Skip to content

Instantly share code, notes, and snippets.

View m3pratik's full-sized avatar
🎯
Focusing

Pratik Panchal m3pratik

🎯
Focusing
View GitHub Profile
@m3pratik
m3pratik / nginx-deployment.yaml
Created January 9, 2023 09:55
nginx-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
@m3pratik
m3pratik / frontend.yaml
Created January 4, 2023 16:38
frontend.yaml
apiVersion: apps/v1
kind: ReplicaSet
metadata:
name: frontend
labels:
app: guestbook
tier: frontend
spec:
# modify replicas according to your case
replicas: 3
@m3pratik
m3pratik / simple-pod.yaml
Created January 4, 2023 04:52
simple-pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80