blue-room-73039
06/24/2023, 1:08 PM- can you share the sample yaml to create static pv ( we have requirement to attach the same pv with many pods/clients ) and 2nd question: A 90 second fail over is a deal breaker for us, what is the better option to create RWX pv?
melodic-account-62504
06/25/2023, 10:54 AMelegant-carpenter-42340
06/25/2023, 2:21 PMwooden-ice-29734
06/25/2023, 3:31 PMGit git@github.com:username/repository.git refs/heads/master error: exit status 128, detail: ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.Configuring a deploy key is something i have done a hundret times now but with Rancher it just does not want to work. Did i do something wrong or can you recommend a step by step guide on how i can add a GitHub repository to CD using SSH key authentication?
hundreds-battery-84841
06/25/2023, 4:37 PMhundreds-battery-84841
06/25/2023, 4:37 PMbumpy-printer-21267
06/25/2023, 4:42 PMmillions-machine-24392
06/26/2023, 2:37 AMmysterious-spoon-75042
06/26/2023, 6:12 AMthousands-lizard-38500
06/26/2023, 6:38 AMbrash-cpu-62691
06/26/2023, 7:46 AMk3s[1510]: {"level":"warn","ts":"2023-06-26T04:33:34.490Z","logger":"etcd-client","caller":"v3@v3.5.3-k3s1/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"<etcd-endpoints://0xc000d8a000/127.0.0.1:2379>","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded"}
k3s[1510]: time="2023-06-26T04:33:34Z" level=error msg="Failed to check local etcd status for learner management: context deadline exceeded"
k3s[1510]: time="2023-06-26T04:33:34Z" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: <https://127.0.0.1:6443/v1-k3s/readyz>: 500 Internal Server Error"
Tried few solutions from online but nothing helped
https://github.com/etcd-io/etcd/issues/12234
https://github.com/mmumshad/kubernetes-the-hard-way/blob/master/docs/07-bootstrapping-etcd.md#configure-the-etcd-server
https://stackoverflow.com/questions/55571566/unable-to-bring-up-kubernetes-api-server
Can anyone help or tell how to bring etcd service back??
when I try to manually run etcd it starts as expected
but k3s service doesnt start because port 2379 is already in use
Also port 2379 and 2380 are open on all nodeshelpful-sundown-16361
06/26/2023, 10:00 AMhelpful-sundown-16361
06/26/2023, 10:02 AMhelpful-sundown-16361
06/26/2023, 10:02 AMhelpful-sundown-16361
06/26/2023, 10:03 AMgifted-helicopter-8095
06/26/2023, 11:00 AMgifted-helicopter-8095
06/26/2023, 11:01 AMbored-church-90799
06/26/2023, 11:14 AMancient-pharmacist-94988
06/26/2023, 11:28 AMpolite-sandwich-60274
06/26/2023, 11:49 AMpolite-sandwich-60274
06/26/2023, 11:49 AMgorgeous-pizza-36569
06/26/2023, 1:18 PMrancher
Deployment, not the `cattle-cluster-agent`s of imported clusters.
Thus when I add a ClusterRepo
referencing a chart registry with a self-signed cert, doing so in the imported cluster won’t work due to the TLS cert error.
Is that a bug or intentional? How would I add an additional trusted CA so it’s used within cattle-cluster-agent
?gorgeous-pizza-36569
06/26/2023, 1:21 PMtls-ca-additional
and running update-ca-certificates
— the chart repo then works. But how can I configure Ranchen / the cattle-cluster-agent
to do so without my manual intervention?)creamy-accountant-88363
06/26/2023, 7:04 PMmelodic-account-62504
06/27/2023, 3:43 AMblue-kitchen-51801
06/27/2023, 8:09 AMchilly-translator-36463
06/27/2023, 12:08 PMfancy-translator-33256
06/27/2023, 1:46 PMbored-church-90799
06/27/2023, 1:57 PM> [20/24] RUN cd /usr/src && git clone <https://github.com/rancher/tgt.git> && cd tgt && git checkout 3a8bc4823b5390e046f7aa8231ed262c0365c42c && make; make install:
#0 0.983 Cloning into 'tgt'...
#0 3.108 Note: switching to '3a8bc4823b5390e046f7aa8231ed262c0365c42c'.
#0 3.108
#0 3.108 You are in 'detached HEAD' state. You can look around, make experimental
#0 3.108 changes and commit them, and you can discard any commits you make in this
#0 3.108 state without impacting any branches by switching back to a branch.
#0 3.108
#0 3.108 If you want to create a new branch to retain commits you create, you may
#0 3.108 do so (now or later) by using -c with the switch command. Example:
#0 3.108
#0 3.108 git switch -c <new-branch-name>
#0 3.108
#0 3.108 Or undo this operation with:
#0 3.108
#0 3.108 git switch -
#0 3.108
#0 3.108 Turn off this advice by setting config variable advice.detachedHead to false
#0 3.108
#0 3.108 HEAD is now at 3a8bc48 The tgt device update function handles bsopts
#0 3.113 make -C usr
#0 3.114 make[1]: Entering directory '/usr/src/tgt/usr'
#0 3.207 cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -DTGT_VERSION=\"1.0.79\" -DBSDIR=\"/usr/lib/tgt/backing-store\" iscsi/conn.c -o iscsi/conn.o
#0 3.270 In file included from iscsi/iscsid.h:30,
#0 3.270 from iscsi/conn.c:28:
#0 3.270 ./tgtd.h:176:58: error: '__WORDSIZE' undeclared here (not in a function)
#0 3.270 176 | unsigned long bs_supported_ops[NR_SCSI_OPCODES / __WORDSIZE];
#0 3.270 | ^~~~~~~~~~
#0 3.316 make[1]: *** [Makefile:95: iscsi/conn.o] Error 1
#0 3.317 make: *** [Makefile:24: programs] Error 2
#0 3.317 make[1]: Leaving directory '/usr/src/tgt/usr'
#0 3.320 make -C usr install
#0 3.321 make[1]: Entering directory '/usr/src/tgt/usr'
#0 3.386 cc -c -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -fPIC -DTGT_VERSION=\"1.0.79\" -DBSDIR=\"/usr/lib/tgt/backing-store\" iscsi/conn.c -o iscsi/conn.o
#0 3.439 In file included from iscsi/iscsid.h:30,
#0 3.439 from iscsi/conn.c:28:
#0 3.439 ./tgtd.h:176:58: error: '__WORDSIZE' undeclared here (not in a function)
#0 3.439 176 | unsigned long bs_supported_ops[NR_SCSI_OPCODES / __WORDSIZE];
#0 3.439 | ^~~~~~~~~~
#0 3.487 make[1]: Leaving directory '/usr/src/tgt/usr'
#0 3.487 make[1]: *** [Makefile:95: iscsi/conn.o] Error 1
#0 3.487 make: *** [Makefile:27: install-programs] Error 2
------
ERROR: failed to solve: executor failed running [/bin/sh -c cd /usr/src && git clone <https://github.com/rancher/tgt.git> && cd tgt && git checkout 3a8bc4823b5390e046f7aa8231ed262c0365c42c && make; make install]: exit code: 2
FATA[0006] exit status 1
make: *** [Makefile:11: ci] Error 1
bored-church-90799
06/27/2023, 1:57 PM