diff --git a/.gitignore b/.gitignore index 40b21b4..8c400f9 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ playbooks/beta/files/*.pub docker/beta/shockrah.xyz/ docker/beta/resume.shockrah.xyz/ +k8s/config.yaml diff --git a/k8s/k.sh b/k8s/k.sh new file mode 100755 index 0000000..55a81d1 --- /dev/null +++ b/k8s/k.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# :eye: + +set -e + +kubectl --kubeconfig config.yaml $@ + diff --git a/k8s/shockrah.xyz/deployment.yaml b/k8s/shockrah.xyz/deployment.yaml new file mode 100644 index 0000000..96701f5 --- /dev/null +++ b/k8s/shockrah.xyz/deployment.yaml @@ -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