Git Product home page Git Product logo

workingenv's Introduction

workingEnv

We need a Kubernetes cluster

Lets create a Kubernetes cluster to play with using kind

kind create cluster --name certmanager --image kindest/node:v1.19.1

Installation


# Get a container to work in

# mount our kubeconfig file and source code
docker run -it --rm -v ${HOME}/.kube:/root/.kube -v ${HOME}/Document/Github:/work -w /work --net host alpine sh

# install kubectl
apk add --no-cache curl
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
chmod +x ./kubectl
mv ./kubectl /usr/local/bin/kubectl

#test cluster access:
/work # kubectl get nodes
NAME                    STATUS   ROLES    AGE   VERSION
certmanager-control-plane   Ready    master   3m6s   v1.19.1

alias k=kubectl

cd /tmp
wget https://get.helm.sh/helm-v3.7.1-linux-arm64.tar.gz
tar -zxf helm-v3.7.1-linux-arm64.tar.gz
mv linux-arm64/helm /usr/local/bin/helm

# install git
apk add --no-cache git


# clone (not required when mounting Github)
git clone https://github.com/PacktPublishing/Kubernetes-and-Docker-The-Complete-Guide.git
git clone https://github.com/istioinaction/book-source-code.git



# istio
cd 
curl -L https://istio.io/downloadIstio | sh -

cd istio-1.11.4
chmod +x ./bin/istioctl
mv ./bin/istioctl /usr/local/bin/istioctl

istioctl install --set profile=demo -y

test ansible

docker run --rm -v ~/Documents/test-playbook:/data  cytopia/ansible ansible-playbook playbook.yml

workingenv's People

Contributors

jackc8 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.