creamy-pencil-82913
05/05/2023, 7:36 PMhundreds-evening-84071
05/05/2023, 7:37 PMswift-hair-47673
05/06/2023, 9:21 AM[ERROR] Failed to set up SSH tunneling for host [10.0.10.108]: Can't retrieve Docker Info: error during connect: Get "<http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info>": can not build dialer to [c-9wsdt:m-40e5929765ec]
[ERROR] Removing host [10.0.10.108] from node lists
It's not very clear why this is happening.
It's also causing all existing pods to go down which is something we didn't expect.
Anything to look at?average-vr-7209
05/06/2023, 2:19 PM/opt/rke/etc/kubernetes/ssl_"
Do you know where this certificate directory settings can be checked and changed?ripe-spoon-19018
05/06/2023, 2:23 PMripe-spoon-19018
05/06/2023, 2:24 PMmodern-state-44917
05/06/2023, 10:30 PMmodern-state-44917
05/06/2023, 10:31 PMmodern-state-44917
05/06/2023, 10:32 PMmodern-state-44917
05/06/2023, 10:42 PMmodern-state-44917
05/06/2023, 10:43 PMmodern-state-44917
05/06/2023, 10:44 PMmodern-state-44917
05/06/2023, 10:46 PMmodern-state-44917
05/06/2023, 10:46 PMmodern-state-44917
05/06/2023, 10:47 PMmodern-state-44917
05/06/2023, 10:47 PMloud-island-50549
05/07/2023, 8:15 AMFollow helm install cert-manager
# refer <https://ranchermanager.docs.rancher.com/getting-started/quick-start-guides/deploy-rancher-manager/helm-cli>
helm repo add rancher-latest <https://releases.rancher.com/server-charts/latest>
kubectl create namespace cattle-system
kubectl apply -f <https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.crds.yaml>
helm repo add jetstack <https://charts.jetstack.io>
helm repo update
helm install cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.11.0
deploy rancher
helm install rancher rancher-stable/rancher \
--namespace cattle-system \
--set hostname=<http://dograbbit.org|dograbbit.org> \
--set bootstrapPassword=admin \
--set ingress.tls.source=letsEncrypt \
--set letsEncrypt.email=me@example.org \
--set letsEncrypt.ingress.class=nginx --set global.cattle.psp.enabled=false
k get pod -n cattle-system
NAME READY STATUS RESTARTS AGE
helm-operation-bkt8t 0/2 Completed 0 12m
helm-operation-vjk7p 0/2 Completed 0 12m
rancher-7c655cfbf7-7pcg5 1/1 Running 0 14m
rancher-7c655cfbf7-g4fcx 1/1 Running 0 14m
rancher-7c655cfbf7-tb9r7 1/1 Running 0 14m
rancher-webhook-656cd8b9f-5prv8 1/1 Running 0 12m
k get ing -n cattle-system
NAME CLASS HOSTS ADDRESS PORTS AGE
rancher <none> <http://dograbbit.org|dograbbit.org> 80, 443 13m
I confuse about . How can I access my <http://dograbbit.org|dograbbit.org> in chrome? It's seem ing doesn't have CLASS.
I want to access the dog <http://rabbit.org|rabbit.org>. Please help me
dazzling-architect-93010
05/08/2023, 4:20 AMdazzling-architect-93010
05/08/2023, 4:24 AMshy-tent-66642
05/08/2023, 5:39 AMapiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: sceptre-themes-manager
name: sceptre-themes-manager
namespace: enterprise
spec:
replicas: 1
serviceName: "sceptre-themes-manager"
selector:
matchLabels:
app: sceptre-themes-manager
template:
spec:
containers:
.
.
.
volumeMounts:
- mountPath: /storage
name: sceptre-repo-storage
volumes:
- name: sceptre-repo-storage
#persistentVolumeClaim:
#claimName: data
imagePullSecrets:
- name: xxxxxx
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
volumeMode: Filesystem
Once I create a statefulset, I could see pvc and pv being created and are in bound state
kubectl get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
pvc-aa65bc02-d0bf-432d-a943-dc1223e03687 20Gi RWO Delete Bound enterprise/data-sceptre-themes-manager-0 local-path 2d8h
kubectl get pvc -n enterprise
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
data-sceptre-themes-manager-0 Bound pvc-aa65bc02-d0bf-432d-a943-dc1223e03687 20Gi RWO local-path 2d8h
I ssh into the statefulset container and I could see the /storage is mounted.
root@sceptre-themes-manager-0:/usr/src/app# df -h
Filesystem Size Used Avail Use% Mounted on
overlay 547G 69G 450G 14% /
tmpfs 64M 0 64M 0% /dev
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/sda4 547G 69G 450G 14% /storage
shm 64M 0 64M 0% /dev/shm
tmpfs 63G 12K 63G 1% /run/secrets/kubernetes.io/serviceaccount
tmpfs 32G 0 32G 0% /proc/acpi
I go to /storage dir and touch a file called test. Then I delete the stateful, I could see the pvc and pv remains intact in bound state. I recreated SFS and ssh into new container and this test file is gone. I could see a proper 777 permission directory is getting created inside /var/lib/rancher/k3s/storage/ for this volume.
root@ent-edge-chennai-metal:/var/lib/rancher/k3s/storage# ls -lat
drwxrwxrwx 2 root root 4096 May 8 04:32 pvc-11089e28-a17b-4aee-8d6e-7429a0b1f752_enterprise_data-sceptre-themes-manager-0
Any idea what might be wrong. Is there something here I am missing?lemon-diamond-98624
05/08/2023, 7:48 AMbrainy-whale-94197
05/08/2023, 7:59 AM1690 maj 08 09:38 Error rancher-wins 1 error syncing 'fleet-default/custom-59de284649bf-machine-plan': handler secret-watch: secret received was too old, requeuing
1689 maj 08 09:38 Error rancher-wins 1 [K8s] received secret to process that was older than the last secret operated on. (454544841 vs 454545100)
1649 maj 08 09:37 Information rancher-wins 1 [Applyinator] Command powershell.exe [-File run.ps1] finished with err: <nil> and exit code: 0
1647 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: INFO: Succesfully started rke2
1643 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: INFO: Attempting to start rke2
1642 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stderr]: time="2023-05-08T09:37:44+02:00" level=fatal msg="The specifi...
1641 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: INFO: RKE2 agent service not found, enabling agent service
1640 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: [INFO] install complete; you may want to run: $env:PATH+=";c...
1639 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: [INFO] unpacking tarball file to c:/usr/local
1638 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: [INFO] verifying tarball
1637 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: [INFO] staging local binary tarball from C:\var\lib\rancher\a...
1636 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: Using stable channel of rke2 for installation
1635 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: [INFO] Windows feature: 'Containers' is installed. Installati...
1631 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: WARNING: Waiting for service 'rke2 (rke2)' to stop...
1630 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: WARNING: Waiting for service 'rke2 (rke2)' to stop...
1629 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: WARNING: Waiting for service 'rke2 (rke2)' to stop...
1628 maj 08 09:37 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: WARNING: Waiting for service 'rke2 (rke2)' to stop...
1623 maj 08 09:36 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: INFO: RKE2 agent service found, stopping now
1621 maj 08 09:36 Information rancher-wins 1 [38073db02ce4b06ae83a2f4510f5dfac2e35984539e2dbc642d2b99db5ec1883_0:stdout]: INFO: Checking if RKE2 agent service exists
1614 maj 08 09:36 Information rancher-wins 1 [Applyinator] Running command: powershell.exe [-File run.ps1]
am I missing some major step here? How can I debug this further and can I do some more actions than the inital setup command "windowsNodeCommand"?
Great Thanks! for any help on thisdazzling-architect-93010
05/08/2023, 9:07 AMsticky-jewelry-7454
05/08/2023, 9:20 AMsticky-jewelry-7454
05/08/2023, 9:24 AMblue-farmer-46993
05/08/2023, 10:32 AMbusy-judge-4614
05/08/2023, 11:10 AMbusy-judge-4614
05/08/2023, 11:12 AMplain-farmer-9714
05/08/2023, 1:41 PMplain-farmer-9714
05/08/2023, 1:43 PM