Skip to content

Instantly share code, notes, and snippets.

View rgodishela's full-sized avatar

Ramesh Godishela rgodishela

  • https://github.com/salesforce
  • Hyderabad, India
View GitHub Profile
@rgodishela
rgodishela / kubernetes-ubuntu-install.sh
Created April 11, 2018 10:10 — forked from sanketsudake/kubernetes-ubuntu-install.sh
[Ubuntu Linux]Kubernetes Minikube Helm Installation
# Install virtualbox
sudo apt install virtualbox
# Install Kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin
# Install Minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.14.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
# Launch Minikube
minikube start
@rgodishela
rgodishela / setupClusterMetrics.sh
Created June 8, 2017 08:32 — forked from rafaeltuelho/setupClusterMetrics.sh
Simple bash script to configure the Cluster Metrics components on OCP v3.3 (tested on CDK > 2.2)
#!/bin/bash
echo -e "\n --- \n Configuring Metrics Components \n --- \n"
echo -e "\t Service Accounts"
echo -e "\t\t Create a metrics-deployer service account:"
oc login --username=<admin_user> --password=<passwd> --namespace=openshift-infra
oc create -f - <<API
apiVersion: v1
@rgodishela
rgodishela / output
Created May 22, 2017 04:57 — forked from halberom/output
ansible - example of setting a complex var with set_fact
PLAY [foo] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [debug ] ****************************************************************
ok: [localhost] => {
@rgodishela
rgodishela / vagrant-cheat-sheet.md
Created September 30, 2016 11:03 — forked from wpscholar/vagrant-cheat-sheet.md
Vagrant Cheat Sheet

Typing vagrant from the command line will display a list of all available commands.

Be sure that you are in the same directory as the Vagrantfile when running these commands!

Common Vagrant Commands

  • vagrant up -- starts vagrant environment (also provisions only on the FIRST vagrant up)
  • vagrant status -- outputs status of the vagrant machine
  • vagrant halt -- stops the vagrant machine
  • vagrant reload -- restarts vagrant machine, loads new Vagrantfile configuration
  • vagrant provision -- forces reprovisioning of the vagrant machine