Coder Social home page Coder Social logo

devops_resources's Introduction

devops_resources

AWS

Azure

Docker

Docker Cheat Sheet

# https://dockerlabs.collabnix.com/docker/cheatsheet/

# Start new Container from an Image
$> docker run IMAGE
$> docker run nginx

# ... and assign it a name
$> docker run --name CONTAINER IMAGE
$> docker run --name web nginx

docker-compose Cheat Sheet

# https://cheatography.com/gauravpandey44/cheat-sheets/docker-compose/

Kubernetes

Useful tools

Cheat Sheet

minikube

minikube is local Kubernetes, focusing on making it easy to learn and develop for Kubernetes.

Install minikube

#!/bin/bash

MINIKUBE_VERSION="v1.22.0"

echo "----> Installing minikube."

cd /tmp
curl -Lo minikube https://github.com/kubernetes/minikube/releases/download/$MINIKUBE_VERSION/minikube-linux-amd64
chmod +x minikube
cp minikube /usr/local/bin && rm minikube
echo "Minikube Version --> $(minikube version)"

echo "--> Minikube successfully installed."

Cheat Sheet

# Start minikube
$> minikube start
# Start minikube with docker engine
$> minikube start --driver=docker
# Start minikube with different machine flavor
$> minikube start --memory 5120 --cpus=4
# Start minikube with specific k8s version
$> minikube start --kubernetes-version v1.11.0
# Stop minikube
$> minikube stop
# Delete minikube
$> minikube delete
# Get minikube ip
$> minikube ip
# Enable ingress addon
$> minikube addons enable ingress
# Enable metrics-server addon
$> minikube addons enable metrics-server
# Getting the NodePort using the service command
$> minikube service --url <service-name>
# Get minikube node list
$> minikube node list

Jenkins

Python

Furher resources

Terraform

Vagrant

Downlaod Vagrant Ubuntu

VAGRANT_VERSION="2.2.17"

if ! dpkg -s vagrant > /dev/null; then

  echo "----> Installing vagrant..."

  wget https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb
  dpkg -i vagrant_${VAGRANT_VERSION}_x86_64.deb
  rm -rf vagrant_${VAGRANT_VERSION}_x86_64.deb

  echo "Vagrant version --> $(vagrant -v)"
  echo "--> vagrant successfully installed."

else

  echo "--> PACKAGE: 'vagrant' already installed!"

fi

Further resources

Blogs

Github resources

devops_resources's People

Contributors

joudaon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.