Sample deployment of simple nginx pod

This commit is contained in:
2024-01-17 21:17:25 -08:00
parent 3e149c43ef
commit f60c5b9a35
3 changed files with 28 additions and 0 deletions

8
k8s/k.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
# :eye:
set -e
kubectl --kubeconfig config.yaml $@

View File

@@ -0,0 +1,19 @@
kind: Deployment
apiVersion: apps/v1
metadata:
name: shockrah-xyz-dep
labels:
app: shockrah-xyz
spec:
replicas: 1
selector:
matchLabels:
app: shockrah-xyz
template:
metadata:
labels:
app: shockrah-xyz
spec:
containers:
- name: bind
image: nginx:latest