-
-
Save vfarcic/686317258ae502fe7d0472f685aaf57f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: https://gist.github.com/686317258ae502fe7d0472f685aaf57f | |
########################################################################## | |
# Development Environments Made Easy With Tilt Rebuilds And Live Updates # | |
# https://youtu.be/fkODRlobR9I # | |
########################################################################## | |
# Additional Info: | |
# - Tilt: https://tilt.dev | |
# - Skaffold - How to Build and Deploy In Kubernetes: https://youtu.be/qS_4Qf8owc0 | |
# - DevSpace - Development Environments in Kubernetes: https://youtu.be/nQly_CEjJc4 | |
# - Gitpod - Instant Development Environment Setup: https://youtu.be/QV1fYt-7SLU | |
# - Okteto - How To Create Instant Development Environments In Kubernetes: https://youtu.be/yjgHHUT-5-s | |
# - How To Create Virtual Kubernetes Clusters With vcluster By loft: https://youtu.be/JqBjpvp268Y | |
# - Teleporting And Intercepting Microservices With CodeZero: https://youtu.be/bt5lQqRJxlE | |
# - How To Replace Docker With nerdctl And Rancher Desktop: https://youtu.be/evWPib0iNgY | |
######### | |
# Setup # | |
######### | |
# Using Rancher Desktop with `nerdctl` for the demo. | |
# Tilt suppors (almost) any Kubernetes cluster and container image builder. | |
# If you're not using Rancher Desktop with `nerdctl`, you might need to modify Tilt file | |
git clone https://github.com/vfarcic/tilt-demo | |
cd tilt-demo | |
# Install `tilt` CLI from https://docs.tilt.dev/install.html | |
###################################### | |
# Development Environments With Tilt # | |
###################################### | |
# Open a new terminal session in the same directory | |
tilt up | |
# Go back to the previous terminal session | |
kubectl --namespace dev \ | |
describe deployment devops-toolkit | |
cat Tiltfile | |
# Open https://github.com/tilt-dev/tilt-extensions | |
# Open https://docs.tilt.dev/api.html | |
# Open https://docs.tilt.dev/cli/tilt.html | |
# To go the second terminal | |
# Press `ctrl+c` | |
tilt down | |
kubectl --namespace dev get pods | |
########### | |
# Destroy # | |
########### | |
# Destroy or reset the local cluster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment