Last active
December 21, 2023 06:26
-
-
Save vfarcic/a5cb2e8dcd1cf9c14194db3310d5c282 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/vfarcic/a5cb2e8dcd1cf9c14194db3310d5c282 | |
######################################################### | |
# Is CUE The Perfect Language For Kubernetes Manifests? # | |
# https://youtu.be/Z-fdFEvgNss # | |
######################################################### | |
# Additional Info: | |
# - Cue: https://cuelang.org | |
# - Helm vs Kustomize - The Fight Between Templating and Patching in Kubernetes: https://youtu.be/ZMFYSm0ldQ0 | |
# - Kustomize - How to Simplify Kubernetes Configuration Management: https://youtu.be/Twtbg6LFnAg | |
# - cdk8s - Kubernetes Manifests With GoLang, TypeScript, Python And Java: https://youtu.be/F2DKtax0NLU | |
# - Carvel ytt Instead Of Helm? A Better Way To Manage Kubernetes Resources?: https://youtu.be/DLnXkH2keNg | |
######### | |
# Setup # | |
######### | |
git clone https://github.com/vfarcic/cue-demo | |
cd cue-demo | |
git pull | |
cd cue | |
###################################### | |
# How CUE Works and What Does It Do? # | |
###################################### | |
cat cue/templates/video.cue | |
cue export cue/templates/video.cue --out yaml | |
cue export cue/templates/video.cue --out json | |
cat cue/templates/service.cue | |
cat cue/templates/video.cue | |
cat cue/templates/video.cue | |
cue export cue/templates/video.cue | |
cat cue/templates/video.cue | |
cue vet cue/templates/video.cue | |
cue export cue/templates/video.cue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment