I hereby claim:
- I am gnalawade on github.
- I am gvnmarket (https://keybase.io/gvnmarket) on keybase.
- I have a public key ASCMN7v0TFK2No-vWkUyEm6-jwTV4uaQyZWHu1KsgxuBmgo
To claim this, I am signing this object:
#!/usr/bin/env python | |
# This is a trick, to output the bash commands we need to run in shell, and just execute this script inside an eval within our shell, so it imports what we need | |
# Possibly tie this in with https://gist.github.com/mbainter/b38a4cb411c0b5c1bae6 for MFA support | |
# Will need to durably store MFA access tokens, possibly in some other env vars | |
# Could also store all different keys/info in different vars, to reuse as needed (lots of env vars though, file may be better) | |
import os | |
import sys | |
import getpass |
#!/bin/bash | |
# (optional) You might need to set your PATH variable at the top here | |
# depending on how you run this script | |
#PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
# Hosted Zone ID e.g. BJBK35SKMM9OE | |
ZONEID="enter zone id here" | |
# The CNAME you want to update e.g. hello.example.com |
yum -y install patch dkms kernel-devel | |
wget https://github.com/amzn/amzn-drivers/archive/ena_linux_1.1.3.tar.gz | |
tar zxvf ena_linux_1.1.3.tar.gz -C /usr/src/ | |
mv /usr/src/amzn-drivers-ena_linux_1.1.3 /usr/src/ena-1.1.3 | |
cat <<EOF > /usr/src/ena-1.1.3/dkms.conf | |
PACKAGE_NAME="ena" | |
PACKAGE_VERSION="1.1.3" | |
AUTOINSTALL="yes" |
sudo su | |
yum --enablerepo=extras install epel-release | |
yum -y install patch dkms kernel-devel perl | |
yum update | |
reboot | |
###############Update kernel START################### | |
Update to latest kernel - optional |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.12.2-linux-amd64.tar.gz | |
tar -zxvf helm-v2.12.2-linux-amd64.tar.gz | |
mv linux-amd64/helm /usr/local/bin/helm | |
kubectl -n kube-system create sa tiller | |
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller | |
helm init --service-account tiller | |
kubectl create namespace kubeapps | |
helm install --name kubeapps --namespace kubeapps bitnami/kubeapps |
#!/bin/bash | |
set -x | |
#Stop Katello/Satellite services | |
katello-service stop | |
CERT=/etc/pki/katello/certs/katello-apache.crt | |
KEY=/etc/pki/katello/private/katello-apache.key |