k run curl-test --image=radial/busyboxplus:curl -i --tty --rm
k run my-pod --image=python -n default -- sleep infinity
k run netcat-test --image=subfuzion/netcat --command -- sleep 360000
| #!/bin/bash | |
| # Set default values | |
| name=$RANDOM | |
| url='https://alertmanager.local/api/v1/alerts' | |
| summary='Testing summary!' | |
| instance="$name.example.net" | |
| default_severity='warning' | |
| # Function to send alert |
k run curl-test --image=radial/busyboxplus:curl -i --tty --rm
k run my-pod --image=python -n default -- sleep infinity
k run netcat-test --image=subfuzion/netcat --command -- sleep 360000
VERSION=1.22.4 ARCH=amd64
wget "https://go.dev/dl/go${VERSION}.linux-${ARCH}.tar.gz" rm -rf /usr/local/go && tar -C /usr/local -xzf "go${VERSION}.linux-${ARCH}.tar.gz"
echo 'export PATH=$PATH:/usr/local/go/bin' | tee -a ~/.bashrc source ~/.bashrc
| jobs: | |
| deploy: | |
| name: Push to ECR | |
| runs-on: ubuntu-latest | |
| # These permissions are needed to interact with GitHub's OIDC Token endpoint. | |
| permissions: | |
| id-token: write | |
| contents: read |
| brew install vagrant qemu | |
| #Due to dependency errors, we must install vbguest first.. | |
| vagrant plugin install vagrant-vbguest | |
| vagrant plugin install vagrant-qemu | |
| #cd to working dir you like to keep your vagrant files | |
| cd ~/VM-and-containers/VagrantMachines/M1-vagrantfiles/ubuntu18-generic-64/ | |
| #Create a vagrant file | |
| $EDITOR Vagrantfile |