vasamsch Goto Github PK
Type: User
Type: User
Ansible and Terraform: Better Together
AWS zero to hero repo for devops engineers to learn AWS in 30 Days. This repo includes projects, presentations, interview questions and real time examples.
Beginners Guide to Terraforming Azure
An informative and fancy bash prompt for Git users
My public repository
HashiCat Meow World Terraform code for GCP
Ingress-NGINX Controller for Kubernetes
Install Jenkins, configure Docker as slave, set up cicd, deploy applications to k8s using Argo CD in GitOps way.
Kubernetes Install On Ubuntu 20.4 Install Docker ************************************************************ sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get update curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update systemctl stauts docker systemctl status docker sudo mkdir /etc/docker cat <<EOF | sudo tee /etc/docker/daemon.json { "exec-opts": ["native.cgroupdriver=systemd"], "log-driver": "json-file", "log-opts": { "max-size": "100m" }, "storage-driver": "overlay2" } EOF sudo systemctl enable docker sudo systemctl daemon-reload sudo systemctl restart docker Follow the step for all nodes to install Kubernetes ******************************************** sudo apt update sudo apt -y upgrade && sudo systemctl reboot sudo apt install apt-transport-https curl curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" >> ~/kubernetes.list sudo apt update sudo mv ~/kubernetes.list /etc/apt/sources.list.d sudo apt update sudo apt-get install -y kubelet kubeadm kubectl kubernetes-cni docker version sudo swapoff -a vim /etc/fstab free -mh lsmod | grep br_netfilter sudo modprobe br_netfilter lsmod | grep br_netfilter sudo sysctl net.bridge.bridge-nf-call-iptables=1 ************************************************************ ********************************************************** *********************************************************** sudo kubeadm init --pod-network-cidr=10.244.0.0/16 mkdir -p $HOME/.kube kubectl get node kubectl get pod -A kubectl get node kubectl get pod -A kubectl get node kubectl get componentstatus kubectl get node kubectl get pod -A wget https://docs.projectcalico.org/manifests/custom-resources.yaml ;;;edit and set ip block is 10.244.0.0/16 wget https://docs.projectcalico.org/manifests/tigera-operator.yaml kubectl create -f tigera-operator.yaml kubectl create -f custom-resources.yaml Finally Check the Cluster Status *************************************************************************************** root@master:~# kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE calico-apiserver calico-apiserver-5b68b6b54-mp6zg 1/1 Running 0 20m calico-apiserver calico-apiserver-5b68b6b54-tgksb 1/1 Running 0 20m calico-system calico-kube-controllers-59c45ff85c-pfnvq 1/1 Running 0 22m calico-system calico-node-6b2p9 1/1 Running 0 22m calico-system calico-node-phsp7 1/1 Running 0 22m calico-system calico-node-r6w5p 1/1 Running 0 22m calico-system calico-typha-589df868cc-7s66z 1/1 Running 0 22m calico-system calico-typha-589df868cc-n4b97 1/1 Running 0 22m kube-system coredns-64897985d-7fjvc 1/1 Running 0 28m kube-system coredns-64897985d-d8t7c 1/1 Running 0 28m kube-system etcd-master 1/1 Running 0 29m kube-system kube-apiserver-master 1/1 Running 0 29m kube-system kube-controller-manager-master 1/1 Running 0 29m kube-system kube-proxy-7fwnf 1/1 Running 0 27m kube-system kube-proxy-hp4j8 1/1 Running 0 28m kube-system kube-proxy-xzq9f 1/1 Running 0 27m kube-system kube-scheduler-master 1/1 Running 0 29m tigera-operator tigera-operator-59d6fdcd79-ndwsk 1/1 Running 0 25m root@master:~# kubectl get componentstatus Warning: v1 ComponentStatus is deprecated in v1.19+ NAME STATUS MESSAGE ERROR controller-manager Healthy ok scheduler Healthy ok etcd-0 Healthy {"health":"true","reason":""} ******************************************************************************** Troubleshooting ************************************************************************************ kubeadm reset iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X For Joining Token ******************************** kubeadm token create --print-join-command
Learn Python from DevOps Engineer point of you.
Terraform module which creates S3 bucket resources on AWS
Terraform module which creates VPC resources on AWS
This module handles the creation of a GCE instance running Jenkins, configured to run builds on Google Cloud.
A Terraform module that makes it easy to set up a new VPC Network in GCP.
Example usage of HashiCorp Terraform
Terraform Google Cloud Platform provider
Run @HashiCorp Vault on Google Kubernetes Engine (GKE) with Terraform
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.