transactional-update shell
zypper ar -f http://download.opensuse.org/repositories/Kernel:/HEAD/standard/ kernel-repo
zypper ref
zypper dist-upgrade --allow-vendor-change --from kernel-repo
# zypper dup
- would prefer curl, but okay
- more recent fleet versions use
deploy/fleet-agentinstead of a statefulset
k exec -it -n cattle-fleet-local-system fleet-agent-0 -- wget -qO - monitoring-fleet-controller.cattle-fleet-system.svc.cluster.local:8080/metrics
k exec -it -n cattle-fleet-local-system fleet-agent-0 -- wget -qO - monitoring-gitjob.cattle-fleet-system.svc.cluster.local:8081/metrics
nctlcommand is a local alias for nervctl with options/flags
nctl run -v $(pwd):/tmp/pwd --rm rancher/fleet:v0.14.3-rc.2 -- /usr/bin/fleet apply BUNDLE100 /tmp/pwd/ -o -
### or ...
podman run -v $(pwd):/tmp/pwd --rm docker.io/rancher/fleet:v0.14.3-rc2 /usr/bin/fleet apply BUNDLE100 /tmp/pwd/ -o -
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: helm.cattle.io/v1 | |
| kind: HelmChartConfig | |
| metadata: | |
| name: rke2-ingress-nginx | |
| namespace: kube-system | |
| spec: | |
| valuesContent: |- | |
| controller: | |
| admissionWebhooks: |
| Product Name | Alternative Names | GitHub Repository | Description |
|---|---|---|---|
| Rancher | SUSE Rancher Prime, Rancher Manager | rancher/rancher | Enterprise Kubernetes management platform that enables organizations to run and manage Kubernetes clusters across any infrastructure. |
| RKE | Rancher Kubernetes Engine | rancher/rke | An extremely simple, lightning fast Kubernetes distribution that runs entirely within containers. |
| RKE2 | RKE Government | rancher/rke2 | A Kubernetes distribution focused on security and compliance for government agencies. |
| K3s | Lightweight Kubernetes, k3OS | k3s-io/k3s | Purpose-built, lightweight Kubernetes distribution for edge and IoT use cases, fully managed by Kubernetes. |
| Longhorn | SUSE Storage | longhorn/longhorn | Cloud-nativ |
kubectl get cluster.fleet.cattle.io/cluster-xxx765123 -n clusters -o jsonpath='{.metadata.labels}' | jq
{
"env": "opm-lab",
"fleet.cattle.io/cluster": "cluster-xxx765123",
"fleet.cattle.io/created-by-agent-pod": "fleet-agent-0",
"management.cattle.io/cluster-display-name": "r12700.F"
}
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 | |
| curl -sfL https://get.k3s.io |\ | |
| INSTALL_K3S_VERSION="v1.30.6+k3s1" | |
| INSTALL_K3S_EXEC="server --write-kubeconfig-mode=644 --cluster-cidr=10.78.0.0/16 --service-cidr=10.78.0.0/16 --cluster-init=true --kube-controller-manager-arg=node-cidr-mask=23 --kubelet-arg=max-pods=240" \ | |
| sh -s - |