Skip to content

Instantly share code, notes, and snippets.

View NileshGule's full-sized avatar

Nilesh Gule NileshGule

View GitHub Profile
@NileshGule
NileshGule / edit-metrics-server-deployment.md
Last active October 2, 2024 21:21
gist to update kuberentes metrics server deployment

deploy metrics server


kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml

edit metrics server deployment by adding command

@NileshGule
NileshGule / Voxxed-Days-2019.md
Last active May 30, 2019 01:11
Voxxed Days 2019 demo setup
@NileshGule
NileshGule / azure-pipelines.yml
Created February 3, 2019 12:57
Gist for Blog post on Travis CI to Azure migraton
# Xcode
# Build, test, and archive an Xcode workspace on macOS.
# Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/xcode
pool:
vmImage: 'macOS 10.13'
steps:
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: techtalksapi
namespace: aks-part4
labels:
run: techtalksapi
spec:
---
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
name: db-deployment
namespace: aks-part4
spec:
serviceName: db-deployment
replicas: 1
template:
@NileshGule
NileshGule / kubernetes-secrets-sa-password.yml
Created November 7, 2018 11:18
Gist related to Kubernetes Secrets blog post
---
apiVersion: v1
kind: Secret
metadata:
name: sqlsecret
namespace: aks-part4
type: Opaque
data:
sapassword: SnVuZUAyMDE4
---
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
name: sqlserverstatefulset
namespace: abc2018sg
spec:
serviceName: db-deployment
replicas: 1
template:
@NileshGule
NileshGule / 01_storage-class.yml
Last active September 13, 2018 14:50
Gist for PV and PVC post
---
kind: StorageClass
apiVersion: storage.k8s.io/v1beta1
metadata:
name: azure-disk
namespace: abc2018sg
provisioner: kubernetes.io/azure-disk
parameters:
storageaccounttype: Standard_LRS
kind: Managed
@NileshGule
NileshGule / skaffold.yaml
Created August 26, 2018 12:02
Gist for scaffold with qinikube blog
apiVersion: skaffold/v1alpha2
kind: Config
build:
artifacts:
- imageName: nileshgule/sqlclient
workspace: ../src/TechTalksDB
- imageName: nileshgule/techtalksweb
workspace: ../src/TechTalksWeb
- imageName: nileshgule/techtalksapi
workspace: ../src/TechTalksAPI