This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NGINX | |
| sudo apt install curl gnupg2 ca-certificates lsb-release | |
| echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" \ | |
| | sudo tee /etc/apt/sources.list.d/nginx.list | |
| curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add - | |
| sudo apt-key fingerprint ABF5BD827BD9BF62 | |
| sudo apt update | |
| sudo apt install nginx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euox pipefail | |
| IFS=$'\n\t' | |
| MASTER_INTERNAL_IP=$1 | |
| WORKER_NAME=$2 | |
| WORKER_IP=$3 | |
| TMPDIR=$(mktemp -d -t ci-XXXXXXXXXX) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| creationTimestamp: null | |
| labels: | |
| run: pod | |
| name: pod1 | |
| spec: | |
| containers: | |
| - args: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euox pipefail | |
| IFS=$'\n\t' | |
| export NODE_NUMBER=$(hostname | cut -d'-' -f2) | |
| export CIDR="10.244.${NODE_NUMBER}.0/24" | |
| export KUBE_RELEASE=1.14.3 | |
| export CRICTL_RELEASE=1.14.0 | |
| export CNI_RELEASE=0.8.1 | |
| export CNI_VERSION=0.3.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euox pipefail | |
| IFS=$'\n\t' | |
| curl -L https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 -o cfssl | |
| curl -L https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 -o cfssljson | |
| curl -L https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64 -o cfssl-certinfo | |
| chmod +x cfss* | |
| mv cfssl* /usr/local/bin/ | |
| cfssl version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # <nbformat>3.0</nbformat> | |
| # <codecell> | |
| import pandas as pd | |
| from pandas import Series | |
| # <codecell> |