Skip to content

Instantly share code, notes, and snippets.

View adisky's full-sized avatar

Aditi Sharma adisky

View GitHub Profile
@adisky
adisky / kubeadm
Last active September 23, 2021 07:06
kubeadm install
# prequisities
sudo apt-get update && apt-get upgrade
sudo lsmod | grep br_netfilter
sudo modprobe br_netfilter
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
br_netfilter
EOF
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
---
schemaVersion: 2.0.0
metadata:
name: java-spring-boot
starterProjects:
- name: springbootproject
git:
remotes:
origin: "https://github.com/odo-devfiles/springboot-ex.git"
components:
schemaVersion: 2.0.0
metadata:
name: nodejs
version: 1.0.0
alpha.build-dockerfile: "https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/build/Dockerfile"
alpha.deployment-manifest: "https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/deploy/deployment-manifest.yaml"
projects:
- name: nodejs-starter
git:
location: "https://github.com/odo-devfiles/nodejs-ex.git"
  1. Checkout the release branch
git fetch upstream
git checkout -b release-1.12 upstream/release-1.12
  1. Sign tag and push to upstream repo. You will need your GPG pass phrase. Check if you have a key using gpg --list-secret-keys --keyid-format LONG
@adisky
adisky / update-golang.md
Created July 31, 2018 08:07 — forked from nikhita/update-golang.md
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: