Completed upto lesson 28

This commit is contained in:
Mosiur Rahman
2026-08-23 15:29:06 +06:00
parent fb86f0b60a
commit 8e43c00cd6
104 changed files with 1888 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
apiVersion: v1
kind: Namespace
metadata:
name: payments-prod
---
apiVersion: v1
kind: Pod
metadata:
name: payments
namespace: payments-prod
labels:
app: payments
spec:
securityContext:
runAsNonRoot: true
runAsUser: 101
seccompProfile:
type: RuntimeDefault
volumes:
- name: secure-tmp
emptyDir: {}
containers:
- name: payments
image: nginxinc/nginx-unprivileged:1.27
volumeMounts:
- name: secure-tmp
mountPath: /tmp
ports:
- containerPort: 8080
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]