Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giovannicandido/devops
Devops tools
https://github.com/giovannicandido/devops
Last synced: 7 days ago
JSON representation
Devops tools
- Host: GitHub
- URL: https://github.com/giovannicandido/devops
- Owner: giovannicandido
- Created: 2019-04-13T11:08:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-13T12:56:16.000Z (almost 6 years ago)
- Last Synced: 2024-11-22T12:20:43.152Z (2 months ago)
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Devops
Devops tools
## Quick start
```bash
docker run --name devops -it -v $(pwd):/home/user giovannicandido/devops bash
cd /home/user
mkdir ~/.ssh
mkdir ~/.kube
cp .ssh/* ~/.ssh
cp .kube/config ~/.kube```
Explanation: This will open a interactive shell container using docker and will share your current folder inside the /home/user folder.
Here we copy the files we need to authenticate (ssh keys and kubernetes) to the root user (your current user).
You are good to go.
Tools:
* Kubectl
* Ansible
* helm
* jq - Json command line parser
* gitRandom Examples:
```bash
ansible i inventory all -m raw -a 'apt install python'
ansible i inventory all -m raw -a 'curl https://releases.rancher.com/install-docker/18.09.2.sh | sh'
ansible i inventory all -m raw -a 'apt upgrade -y'helm init --client-only
helm plugin install https://github.com/rimusz/helm-tiller
helm tiller start
helm install --name nginx stable/nginx-ingress
helm tiller stopkubectl get nodes
kubectl get nodes -o json | jq '.items[].metadata.annotations'```
Have fun!