Skip to content

Instantly share code, notes, and snippets.

Viktor Farcic vfarcic

Block or report user

Report or block vfarcic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View kops-aws-install-demo.sh
git clone https://github.com/vfarcic/k8s-specs.git
cd k8s-specs
git pull
open "https://console.aws.amazon.com/iam/home#/security_credential"
export AWS_ACCESS_KEY_ID=[...]
View 07-dev.sh
# Links to gists for creating a cluster with jx
# gke-jx.sh: https://gist.github.com/86e10c8771582c4b6a5249e9c513cd18
# eks-jx.sh: https://gist.github.com/dfaf2b91819c0618faf030e6ac536eac
# aks-jx.sh: https://gist.github.com/6e01717c398a5d034ebe05b195514060
# install.sh: https://gist.github.com/3dd5592dc5d582ceeb68fb3c1cc59233
cd go-demo-6
git checkout buildpack
View 05-buildpacks.sh
# Links to gists for creating a cluster with jx
# gke-jx.sh: https://gist.github.com/86e10c8771582c4b6a5249e9c513cd18
# eks-jx.sh: https://gist.github.com/dfaf2b91819c0618faf030e6ac536eac
# aks-jx.sh: https://gist.github.com/6e01717c398a5d034ebe05b195514060
# install.sh: https://gist.github.com/3dd5592dc5d582ceeb68fb3c1cc59233
open "https://github.com/jenkins-x-buildpacks/jenkins-x-kubernetes"
GH_USER=[...]
View 04-fix-chart.sh
git checkout buildpack
git merge -s ours master --no-edit
git checkout master
git merge buildpack
cat charts/go-demo-6/requirements.yaml
View 03-import.sh
# Make sure that you are not inside the `jx-go` repository.
# Execute `cd ..` if you are.
open "https://github.com/vfarcic/go-demo-6"
# Fork it
GH_USER=[...] # Replace `[...]` with your GitHub user
git clone https://github.com/$GH_USER/go-demo-6.git
View 06-destroy-cluster.sh
hub delete -y \
$GH_USER/environment-tekton-staging
hub delete -y \
$GH_USER/environment-tekton-production
hub delete -y $GH_USER/jx-go
rm -rf ~/.jx/environments/$GH_USER/environment-tekton-*
View 04-browse.sh
kubectl get pods
jx get activities
jx get activities -f jx-go -w
# Cancel with ctrl+c
jx get build logs
View 03-quickstart.sh
jx create quickstart
# Cancel with ctrl+c
jx create quickstart --filter golang-http --project-name jx-go --batch-mode
export GH_USER=[...] # Replace with your GitHub user
open "https://github.com/$GH_USER/jx-go"
View 06-env.sh
# Links to gists for creating a cluster with jx
# gke-jx.sh: https://gist.github.com/86e10c8771582c4b6a5249e9c513cd18
# eks-jx.sh: https://gist.github.com/dfaf2b91819c0618faf030e6ac536eac
# aks-jx.sh: https://gist.github.com/6e01717c398a5d034ebe05b195514060
# install.sh: https://gist.github.com/3dd5592dc5d582ceeb68fb3c1cc59233
cd go-demo-6
git checkout buildpack
View 04-import.sh
# Links to gists for creating a cluster with jx
# gke-jx.sh: https://gist.github.com/86e10c8771582c4b6a5249e9c513cd18
# eks-jx.sh: https://gist.github.com/dfaf2b91819c0618faf030e6ac536eac
# aks-jx.sh: https://gist.github.com/6e01717c398a5d034ebe05b195514060
# install.sh: https://gist.github.com/3dd5592dc5d582ceeb68fb3c1cc59233
open "https://github.com/vfarcic/go-demo-6"
GH_USER=[...]
You can’t perform that action at this time.