This file contains 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
#!/usr/bin/env bash | |
# The env variable RANGE specifies the range of commits to be searched for the changelog. | |
# If unset the latest tag until origin/main will be set. | |
# | |
# The env variable GITHUB_TOKEN can specify a GitHub personal access token. | |
# Otherwise, one could run into GitHub rate limits. Go to | |
# https://github.com/settings/tokens to generate a token. | |
set -e |
This file contains 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 -euo pipefail | |
set -x | |
export RESOURCE_GROUP=headlamp-stateless | |
export LOCATION="EAST US" | |
export CLUSTER_NAME="headlamp" | |
export SSH_KEY=~/.ssh/headlamp.pub |
This file contains 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 -euo pipefail | |
set -x | |
# Clone headlamp repository from github | |
git clone https://github.com/headlamp-k8s/headlamp.git --depth=1 && cd headlamp | |
echo ' | |
version: "3" |
This file contains 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 -euo pipefail | |
set -x | |
export VM_NAME=stateless | |
export RESOURCE_GROUP=headlamp-stateless | |
export LOCATION="EAST US" | |
export IMAGE="Ubuntu2204" | |
export VM_SIZE=Standard_D8as_v5 |
This file contains 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 -euo pipefail | |
set -x | |
# Source: https://docs.docker.com/engine/install/ubuntu/ | |
apt-get update | |
apt-get -y remove docker docker-engine docker.io containerd runc || true | |
apt-get install -y \ |
This file contains 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 -eu | |
conf_zip="" | |
if [ -f kv0.zip ] ; then | |
conf_zip="kv0.zip" | |
fi | |
if [ -f kv1.zip ] ; then | |
conf_zip="kv1.zip" |
This file contains 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
#!/usr/bin/env bash | |
helm create santosh-test-helm | |
cd santosh-test-helm/ | |
rm -rf templates charts | |
mkdir templates/ |
This file contains 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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: github-action-runner | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: github-action-runner | |
strategy: {} |
This file contains 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 -euo pipefail | |
set -x | |
# Source: https://docs.docker.com/engine/install/debian | |
apt-get update | |
apt-get -y remove docker docker-engine docker.io containerd runc || true | |
apt-get -y install \ |
This file contains 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
➜ kc logs run-mysql-benchmark-n86hb -f ✔ 10235 15:35:06 | |
Starting the database server... | |
[i] MySQL data directory not found, creating initial DBs | |
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) | |
2021-05-11 10:05:01 1 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1017: Can't find file: './mysql/' (errno: 2 "No such file or directory") | |
[i] MySQL root Password: 111111 | |
[i] Creating database: sbtest | |
2021-05-11 10:05:01 0 [Note] /usr/bin/mysqld (mysqld 10.5.9-MariaDB-log) starting as process 94 ... | |
2021-05-11 10:05:01 0 [Note] InnoDB: Uses event mutexes | |
2021-05-11 10:05:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 |
NewerOlder