Skip to content

Instantly share code, notes, and snippets.

Avatar
🚫
I may be slow to respond.

Nikhita Raghunath nikhita

🚫
I may be slow to respond.
View GitHub Profile
@nikhita
nikhita / minikube-upgrade.md
Created Feb 12, 2020
How to upgrade minikube to the latest version in Linux.
View minikube-upgrade.md

Find the current version

$ minikube version
minikube version: v1.7.1

Check if there are newer versions available

View sample-controller-go-mod-after.mod
// This is a generated file. Do not edit directly.
module k8s.io/sample-controller
go 1.13
require (
k8s.io/api v0.17.0-rc.2
k8s.io/apimachinery v0.17.0-rc.2
k8s.io/client-go v0.0.0-20191204083517-ea72ff2b5b2f
View publishing-bot-skip-tags.yaml
skip-tags: true
recursive-delete-patterns:
- BUILD
- "*/BUILD"
- BUILD.bazel
- "*/BUILD.bazel"
- Gopkg.toml
rules:
- destination: apimachinery
library: true
View publishing-bot-squash-commits.yaml
recursive-delete-patterns:
- BUILD
- "*/BUILD"
- BUILD.bazel
- "*/BUILD.bazel"
- Gopkg.toml
rules:
- destination: apimachinery
library: true
branches:
View publishing-bot-goprivate.yaml
recursive-delete-patterns:
- BUILD
- "*/BUILD"
- BUILD.bazel
- "*/BUILD.bazel"
- Gopkg.toml
rules:
- destination: apimachinery
library: true
branches:
View client-go-v12-alpha-smoke-test.sh
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
View client-go-12-gomod-smoke-test.sh
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
View client-go-release-12-smoke-test.sh
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git
View publishing-bot-dev-test.yaml
recursive-delete-patterns:
- BUILD
- "*/BUILD"
- BUILD.bazel
- "*/BUILD.bazel"
- Gopkg.toml
rules:
- destination: code-generator
branches:
- source:
@nikhita
nikhita / client-go-release-11-smoke-test.sh
Last active Apr 3, 2019
Script used to smoke test client-go v11.0.0 before releasing
View client-go-release-11-smoke-test.sh
#!/bin/bash -ex
cd $GOPATH/src/k8s.io
rm -rf cache.new
if [ ! -d cache ]; then
mkdir cache.new
pushd cache.new
for repo in $(ls -1 ../kubernetes/staging/src/k8s.io); do
git clone https://github.com/kubernetes/${repo}.git