curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
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
## GitLab Runner Image | |
## | |
## By default it's using gitlab/gitlab-runner:alpine-v{VERSION} | |
## where {VERSION} is taken from Chart.yaml from appVersion field | |
## | |
## ref: https://hub.docker.com/r/gitlab/gitlab-runner/tags/ | |
## | |
# image: gitlab/gitlab-runner:alpine-v11.6.0 | |
## Specify a imagePullPolicy |
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
// This example demonstrates how to use go to walk a directory | |
// and filter the contents by using filepath.Walk with | |
// variables in the external scope to provide the filter and | |
// to capture the file names. | |
// | |
// To build: | |
// go build walk.go | |
// Usage: | |
// walk <pattern> <files> | |
// |
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
scrape_configs: | |
- job_name: 'your_kubernetes_pod' | |
dns_sd_configs: | |
- refresh_interval: 15s | |
names: | |
- {headless-service-name}.default.svc.cluster.local | |
relabel_configs: | |
# Change default port we get from DNS (0) to expected port ({your_pod_port}) | |
- source_labels: [__address__] | |
action: replace |
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
wget --output-document=/dev/null http://speedtest.wdc01.softlayer.com/downloads/test500.zip |