- Updated on May 29 to accommodate etcd container not having
/bin/sh
available anymore.
curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
export CRI_CONFIG_FILE=/var/lib/rancher/rke2/agent/etc/crictl.yaml | |
export CONTAINERD_ADDRESS=unix:///run/k3s/containerd/containerd.sock | |
export PATH=$PATH:/var/lib/rancher/rke2/bin | |
echo "=== CHECK BEFORE ===" | |
( | |
curl --cacert /var/lib/rancher/rke2/server/tls/kube-controller-manager/kube-controller-manager.crt \ | |
https://127.0.0.1:10257/healthz >/dev/null 2>&1 \ | |
&& echo "[OK] Kube Controller probe" \ | |
|| echo "[FAIL] Kube Controller probe"; |
package main | |
import ( | |
"fmt" | |
"net/http" | |
"os" | |
"statsd" | |
"time" | |
"github.com/thedevsaddam/gojsonq" |
library(rredis) | |
shinyServer(function(input, output) { | |
output$show <- renderText({ | |
redisConnect() | |
res <- redisGet(input$key) | |
redisClose() | |
return(res) | |
}) |