Skip to content

Instantly share code, notes, and snippets.

View prashanth-sams's full-sized avatar
🍎
Each day is interesting!!!

Prashanth Sams prashanth-sams

🍎
Each day is interesting!!!
View GitHub Profile
@prashanth-sams
prashanth-sams / helm_chart_cheatsheet.md
Last active March 4, 2022 20:12
Helm Chart Cheatsheet

Install helm

brew install kubernetes-helm

Initialize helm

helm init
[info] [Appium] Welcome to Appium v1.14.0
[info] [Appium] Non-default server args:
[info] [Appium] allowInsecure: {
[info] [Appium] }
[info] [Appium] denyInsecure: {
[info] [Appium] }
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"deviceName":"emulator-5554","platformName":"Android","systemPort":"8200","app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","autoGrantPermissions":true},"capabilities":{"firstMatch":[{"appium:deviceName":"emulator-5554","platformName":"Android","appium:systemPort":"8200","appium:app":"/Users/prashanth/Downloads/app-propertyFinderConsumer-debug.apk","appium:autoGrantPermissions":true}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"emulator-5554","platformName":"Android","systemPor
@prashanth-sams
prashanth-sams / docker-compose.yml
Created June 26, 2019 15:39
docker compose -> kubernetes yml
version: '3'
services:
sitespeed.io:
image: sitespeedio/sitespeed.io
command: -V
privileged: true
shm_size: 1g
volumes:
- ./:/sitespeed.io
grafana:
version: "3.5"
services:
sonarqube:
image: sonarqube
ports:
- "9000:9000"
networks:
- sonarnet
environment:
job("main-repo") {
scm {
github("StephenKing/chef-ci-main-repo")
}
steps {
shell("knife upload roles environments data_bags --chef-repo-path ./")
}
}
watch -n x <your command>
watch -n 60 ls -l ~/Desktop
@prashanth-sams
prashanth-sams / K8s Cheat sheet.md
Created May 9, 2019 16:20 — forked from gianrubio/K8s Cheat sheet.md
Deploy prometheus using helm

k8s cheat sheet

aws s3api create-bucket --bucket my-kops-bucket --location- eu-west-1 --create-bucket-configuration LocationConstraint=eu-west-1
export NAME=my-kops-cluster-name
export KOPS_STATE_STORE=s3://my-kops-bucket-name 
kops create cluster --zones eu-west-1a,eu-west-1b --name $NAME --node-count=2 --node-size=t2.medium  --authorization=RBAC   --networking=calico --encrypt-etcd-storage --kubernetes-version=v1.7.10 
kops update cluster --yes
kops validate cluster
@prashanth-sams
prashanth-sams / README.md
Created May 5, 2019 15:31 — forked from fntlnz/README.md
InfluxDB and Chronograf deployed in Kubernetes

InfluxDB and Chronograf in Kubernetes

  1. Create the namespace
kubectl create ns monitoring
  1. Deploy influxdb
kubectl apply -f influxdb.yml
@prashanth-sams
prashanth-sams / driver_config.rb
Last active April 15, 2019 18:03
Selenium WebDriver Browserstack Config
def browserstack
browserstack = {
'chrome' => {
'os': "windows",
'os_version': "10",
'browser': "chrome",
'browser_version': "73",
'resolution': "1280x800",
'browserstack.local': false
},
@prashanth-sams
prashanth-sams / testrail_config.yml
Created April 15, 2019 17:48
TestRail configuration YML
testrail:
url: https://xyz.testrail.io/
user: [email protected]
password: xxxxxxx
run_id: 111