Skip to content

Instantly share code, notes, and snippets.

@oleksdovz
Last active February 28, 2023 17:17
Show Gist options
  • Save oleksdovz/3d3d46c09153caed87fcc6a3420371f6 to your computer and use it in GitHub Desktop.
Save oleksdovz/3d3d46c09153caed87fcc6a3420371f6 to your computer and use it in GitHub Desktop.
k8s deploy hello-world
#!/bin/sh
# k8s-hello-world
# Kubernetes deployment resources for testing new k8s cluster
kubectl apply -f https://raw.githubusercontent.com/oleksdovz/k8s-hello-world/main/deployment.yaml
kubectl apply -f https://raw.githubusercontent.com/oleksdovz/k8s-hello-world/main/service.yaml
kubectl apply -f https://raw.githubusercontent.com/oleksdovz/k8s-hello-world/main/ingres.yaml
# or
kubectl apply -f 'https://raw.githubusercontent.com/oleksdovz/k8s-hello-world/main/deployment.yaml,/
https://raw.githubusercontent.com/oleksdovz/k8s-hello-world/main/service.yaml,/
https://raw.githubusercontent.com/oleksdovz/k8s-hello-world/main/ingres.yaml'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment