handsome-toddler-59547
06/10/2022, 9:35 AMhandsome-toddler-59547
06/11/2022, 2:40 PMEvents:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 7s default-scheduler Successfully assigned default/test-59697b49db-tgmw2 to worker1
Normal Pulling 105s kubelet Pulling image "dsargrad/test:0.1.0"
Warning Failed 103s kubelet Failed to pull image "dsargrad/test:0.1.0": rpc error: code = Unknown desc = failed to pull and unpack image "<http://docker.io/dsargrad/test:0.1.0|docker.io/dsargrad/test:0.1.0>": failed to copy: httpReadSeeker: failed open: failed to do request: Get "<https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/c8/c852233570204549536abaa9a881803c38ef6192a370d7791bd480e7102d7560/data?verify=1654961268-HeAOL1x8aj7nmL5RUXQv1ApRkvY%3D>": x509: certificate has expired or is not yet valid: current time 2022-06-10T13:32:23-04:00 is before 2022-06-11T00:00:00Z
Warning Failed 103s kubelet Error: ErrImagePull
Normal BackOff 102s kubelet Back-off pulling image "dsargrad/test:0.1.0"
Warning Failed 102s kubelet Error: ImagePullBackOff
handsome-evening-66321
06/13/2022, 6:21 PMv1.21.13-k3s1
image? it doesn’t seem to exist: https://hub.docker.com/r/rancher/k3s/tags?page=1&name=1.21.13-k3s1hallowed-plumber-70367
06/14/2022, 3:24 AMlively-refrigerator-33439
06/14/2022, 12:57 PMfreezing-engineer-98215
06/14/2022, 1:55 PMServer : not sure if it's needed to change the service-cidr & cluster-dns
ExecStart=/usr/local/bin/k3s server --data-dir /var/lib/rancher/k3s
--flannel-iface "ens5"
--kube-scheduler-arg address=${server_ip}
--kubelet-arg address=${server_ip}
--bind-address ${server_ip}
--cluster-cidr 172.17.0.0/16
--service-cidr 172.18.0.0/16 --cluster-dns 172.18.0.10
--advertise-address ${server_ip} --tls-san value ${server_ip}
nodes : only defined the interface i wanted it to use
ExecStart=/usr/local/bin/k3s agent --server https://{{ k3s_server_address }}:6443 --token {{token}} --flannel-iface "ens5"
fancy-jackal-96583
06/14/2022, 3:40 PMrich-zoo-49735
06/15/2022, 5:19 PMTLS_RSA_WITH_3DES_EDE_CBC_SHA
which comes with this security warning: 64-bit block cipher 3DES vulnerable to SWEET32 attack
.
By setting the list of ciphers in HelmChartConfig, checking my ciphers with nmap
comes back with nothing, instead of an expected list of ciphers. No errors in traefik logs.
This is my HelmChartConfig:
apiVersion: <http://helm.cattle.io/v1|helm.cattle.io/v1>
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
ssl:
enabled: true
tlsMinVersion: VersionTLS12
cipherSuites:
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
- TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
- TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305
k3s version v1.20.13+k3s1 (b8a1f455)quiet-memory-19288
06/16/2022, 3:34 PMdisable_apparmor
for containerd on an embedded project I am working on. Can anyone tell me how to do it, so k3s keeps my change?
[plugins.cri]
...
disable_apparmor = true
/var/lib/rancher/k3s/agent/etc/containerd# ls
config.toml config.toml.tmpl
I know I need to make a tmpl file in that folder, but if I do, it seems to break the resulting config.toml. With like the GUID k3s install path and such….
I see the GO template https://github.com/k3s-io/k3s/blob/master/pkg/agent/templates/templates_linux.gohandsome-toddler-59547
06/16/2022, 9:18 PM[root@M ~]# kubectl version
Client Version: <http://version.Info|version.Info>{Major:"1", Minor:"23", GitVersion:"v1.23.6+k3s1", GitCommit:"418c3fa858b69b12b9cefbcff0526f666a6236b9", GitTreeState:"clean", BuildDate:"2022-04-28T22:16:18Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: <http://version.Info|version.Info>{Major:"1", Minor:"23", GitVersion:"v1.23.6+k3s1", GitCommit:"418c3fa858b69b12b9cefbcff0526f666a6236b9", GitTreeState:"clean", BuildDate:"2022-04-28T22:16:18Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
How do I install just kubectl on my fedora 36 machine?handsome-toddler-59547
06/16/2022, 9:48 PMhandsome-toddler-59547
06/16/2022, 10:58 PM(base) [dsargrad@localhost nginx]$ k get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 6h31m
nginx LoadBalancer 10.43.228.3 192.168.56.133,192.168.56.134 9080:32741/TCP 31m
For some odd reason I can only access it on 192.168.56.134 (the worker). I cant access it on the master: 192.168.56.133.
(base) [dsargrad@localhost nginx]$ curl 192.168.56.133:9080
curl: (7) Failed to connect to 192.168.56.133 port 9080 after 0 ms: No route to host
(base) [dsargrad@localhost nginx]$ curl 192.168.56.134:9080
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>
<p>For online documentation and support please refer to
<a href="<http://nginx.org/>"><http://nginx.org|nginx.org></a>.<br/>
Commercial support is available at
<a href="<http://nginx.com/>"><http://nginx.com|nginx.com></a>.</p>
<p><em>Thank you for using nginx.</em></p>
</body>
</html>
Any suggestions on why this is?cool-ocean-71403
06/17/2022, 4:38 AMtall-jewelry-68687
06/17/2022, 6:31 PMbrave-afternoon-4801
06/18/2022, 9:23 PMcool-ocean-71403
06/19/2022, 11:54 AMbrainy-action-93740
06/19/2022, 2:30 PMloud-daybreak-83328
06/20/2022, 7:30 PMblue-arm-71737
06/21/2022, 6:49 AMminiature-journalist-28760
06/21/2022, 8:13 AMcool-ocean-71403
06/21/2022, 6:09 PMexport INSTALL_K3S_EXEC=--"https-listen-port xxxx --tls-san xxxxx --node-external-ip x.x.x.x --secrets-encryption true --advertise-address x.x.x.x --cluster-cidr x.x.x.x/16 --service-cidr x.x.x.x/16 --cluster-dns x.x.x.x --flannel-backend wireguard-native --disable traefik --protect-kernel-defaults=true --kube-apiserver-arg='audit-log-path=/var/lib/rancher/k3s/server/logs/audit.log' --kube-apiserver-arg='audit-policy-file=/var/lib/rancher/k3s/server/audit.yaml' --kube-apiserver-arg='audit-log-maxage=30' --kube-apiserver-arg='audit-log-maxbackup=10' --kube-apiserver-arg='audit-log-maxsize=100' --kube-apiserver-arg='request-timeout=300s' --kube-apiserver-arg='service-account-lookup=true' --kube-apiserver-arg='enable-admission-plugins=NodeRestriction,PodSecurityPolicy,NamespaceLifecycle,ServiceAccount' --kube-controller-manager-arg='terminated-pod-gc-threshold=10' --kube-controller-manager-arg='use-service-account-credentials=true' --kubelet-arg='streaming-connection-idle-timeout=5m' --kubelet-arg='make-iptables-util-chains=true'"
K3S install script is ignoring the whole environment variable for some reason. Anyone can help?cool-ocean-71403
06/22/2022, 8:45 AMINSTALL_K3S_EXEC="--secrets-encryption"
or INSTALL_K3S_EXEC="--secrets-encryption=true"
or INSTALL_K3S_EXEC="--secrets-encryption true"
which one is the correct syntax to enable secrets encryption? The k3s docs have a mixed combination of the first two. A bit confused here to which one is actually working.aloof-dress-26414
06/23/2022, 12:55 PMNAME CLASS HOSTS ADDRESS PORTS AGE
rancher <none> <http://rancher.mydomain.eu|rancher.mydomain.eu> 80, 443 24m
I'm not sure if it should have a class and why the address is blank. Any ideas?late-needle-80860
06/24/2022, 9:28 AMkubelet-api-server-arg
parameter is not doing the job. Have anyone tried and successfully enabled the gRPC probe alpha feature on a k3s distribution? Thanks!!! 🙏cool-ocean-71403
06/26/2022, 11:54 PMmelodic-market-42092
06/27/2022, 8:05 AMmost-plumber-12446
06/27/2022, 10:33 AMorange-airplane-98016
06/27/2022, 5:53 PMearly-lizard-52471
06/28/2022, 12:55 PMcool-ocean-71403
06/28/2022, 2:11 PMcool-ocean-71403
06/28/2022, 2:11 PMnutritious-tomato-14686
06/28/2022, 5:30 PMcool-ocean-71403
06/28/2022, 7:26 PM