dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
This file contains hidden or 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/f11e690295311d8d7dd53b5128bd6d3e | |
| ##################################### | |
| # Tekton vs. Argo Workflows # | |
| # Kubernetes-Native CI/CD Pipelines # | |
| # https://youtu.be/dAUpAq7hfeA # | |
| ##################################### | |
| # Referenced videos: | |
| # - Tekton - Kubernetes Cloud-Native CI/CD Pipelines And Workflows: https://youtu.be/7mvrpxz_BfE |
This file contains hidden or 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
| ############################################################## | |
| # How to run local multi-node Kubernetes clusters using kind # | |
| # https://youtu.be/C0v5gJSWuSo # | |
| ############################################################## | |
| ######### | |
| # Setup # | |
| ######### | |
| # Install kind (https://kind.sigs.k8s.io/docs/user/quick-start/#installation) |
This file contains hidden or 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/681a5f4455428379e00bc815450e12d8 | |
| ############################################# | |
| # eksctl # | |
| # How to Create and Manage AWS EKS clusters # | |
| # https://youtu.be/pNECqaxyewQ # | |
| ############################################# | |
| ######### | |
| # Setup # |
This file contains hidden or 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
| # --------------------------------------------------------------------------------------------------------------------- | |
| # ENVIRONMENT VARIABLES | |
| # Define these secrets as environment variables | |
| # --------------------------------------------------------------------------------------------------------------------- | |
| # AWS_ACCESS_KEY_ID | |
| # AWS_SECRET_ACCESS_KEY | |
| # --------------------------------------------------------------------------------------------------------------------- | |
| # REQUIRED PARAMETERS |
This file contains hidden or 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
| <h1 id="awesome-kubernetes">Awesome-Kubernetes</h1> | |
| <h2 id="awesome-kubernetes-annotations">Copy from https://github.com/ramitsurana/awesome-kubernetes, used for learning</h2> | |
| <p><a href="https://github.com/sindresorhus/awesome"><img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome"></a> | |
| <a href="https://travis-ci.org/ramitsurana/awesome-kubernetes"><img src="https://travis-ci.org/ramitsurana/awesome-kubernetes.svg?branch=master" alt="Build Status"></a> | |
| <a href="https://semaphoreci.com/ramitsurana/awesome-kubernetes"><img src="https://semaphoreci.com/api/v1/ramitsurana/awesome-kubernetes/branches/master/badge.svg" alt="Build Status"></a> | |
| <a href="http://creativecommons.org/licenses/by-nc/4.0/"><img src="https://img.shields.io/badge/License-CC%204.0-brightgreen.svg?style=flat-square" alt="License"></a> | |
| <a href="https://hub.docker.com/r/ramitsurana/awesome-kubernetes"><img src="https://img.shields.io/docker/build/ramitsurana/awesome-kubernet |
Hello! This gist goes with this video, which covers shortcuts and strategies for working with the K8s command line. You can see all of my videos on YouTube at https://adrian.goins.tv.
I use Fish as my shell, but I know that a lot of people are using Bash. Here are two ways to concatenate config files for kubectl into the KUBECONFIG environment variable. If you're using zsh or tcsh you'll know how to convert these to your shell's format.
You can call these from your shell init file, or if you want to temporarily disable a script, append .bak or .disabled to its extension and run the script manually.
You can even hotkey it on something like the Elgato Stream Deck.
This file contains hidden or 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
| # Name: ansible-aws-inventory-worker.yml | |
| # Description: this is the worker file that called the main file (ansible-aws-inventory-main.yml) to to create an inventory of all the | |
| # specific aws resources. This file, the worker file and the ansible inventory file must be placed in the same folder | |
| # Prerequisites: | |
| # - the worker file (ansible-aws-inventory-worker.yml) and the ansible hosts file must be present in the same folder as this file (ansible-aws-inventory-main.yml) | |
| # - this script requires read access to all resources it will be querying. An AWS IAM user account must be created with the necessary permissions and with access keys enabled. | |
| # At a minimum, to query all the resources mentioned above, the following permissions are required | |
| # - AmazonVPCReadOnlyAccess | |
| # - AmazonEC2ReadOnlyAccess | |
| # - ElasticLoadBalancingReadOnly |
This file contains hidden or 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
| --- | |
| # Name: ansible-aws-inventory-main.yml | |
| # Description: this is the main file that calls the worker file (ansible-aws-inventory-worker.yml) to create an inventory of all the | |
| # specific aws resources. | |
| # Below are the resources that will be inventoried | |
| # - vpc | |
| # - subnet | |
| # - igw | |
| # - cgw | |
| # - vgw |