Compare commits

..

1 Commits

Author SHA1 Message Date
kevinnlsamuel 413839b58b generate k8s 2026-09-02 23:24:04 +05:30
+57
View File
@@ -0,0 +1,57 @@
# Save the output of this file and use kubectl create -f to import
# it into Kubernetes.
#
# Created with podman-5.8.4
# NOTE: If you generated this yaml from an unprivileged and rootless podman container on an SELinux
# enabled system, check the podman generate kube man page for steps to follow to ensure that your pod/container
# has the right permissions to access the volumes added.
---
apiVersion: v1
kind: Pod
metadata:
annotations:
bind-mount-options: /home/kevinnlsamuel/project/cookies/www:z
creationTimestamp: "2026-09-02T17:51:20Z"
labels:
app: cookies-pod
name: cookies-pod
spec:
containers:
- args:
- nginx
- -g
- daemon off;
env:
- name: TERM
value: xterm
image: docker.io/library/nginx:alpine
name: cookies
ports:
- containerPort: 443
hostPort: 8443
tty: true
volumeMounts:
- mountPath: /etc/nginx/tls
name: home-kevinnlsamuel-project-cookies-tls-host-0
readOnly: true
- mountPath: /etc/nginx/conf.d
name: home-kevinnlsamuel-project-cookies-conf.d-host-1
readOnly: true
- mountPath: /srv/www
name: home-kevinnlsamuel-project-cookies-www-host-2
readOnly: true
volumes:
- hostPath:
path: /home/kevinnlsamuel/project/cookies/tls
type: Directory
name: home-kevinnlsamuel-project-cookies-tls-host-0
- hostPath:
path: /home/kevinnlsamuel/project/cookies/conf.d
type: Directory
name: home-kevinnlsamuel-project-cookies-conf.d-host-1
- hostPath:
path: /home/kevinnlsamuel/project/cookies/www
type: Directory
name: home-kevinnlsamuel-project-cookies-www-host-2