Open chaunceyjiang opened 12 months ago
/assign
Hi~, @chaunceyjiang,Judging from the issue you described, this problem has been reflected in #4128 . You can see if #4315 has solved your problem.
@chaunceyjiang Sorry that I mistakenly confused your problem with the problem I solved in the pr #4315. I realized that the problem is caused by the following code.
https://github.com/karmada-io/karmada/blob/08651832925a3eb238b6d56770400943d1307a2b/operator/pkg/controlplane/etcd/etcd.go#L87-L90
By printing the log I found that the value of etcdServicePeerBytes
is
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
karmada-app: etcd
app.kubernetes.io/managed-by: karmada-operator
namespace: 111
...
Therefore, it will report an error when it reaches code L88. When I try to add "" to the namespace of etcd's manifest to ensure that the value will be correctly recognized as a string type,
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
karmada-app: etcd
app.kubernetes.io/managed-by: karmada-operator
namespace: "{{ .Namespace }}"
it does solve the problem that was reported before, but there will still be other errors. It looks like the operator installation needs some tweaking to be compatible with all-numeric namespaces!
It looks like the operator installation needs some tweaking to be compatible with all-numeric namespaces!
Yes.
This is also why I asked you to test the 123
scenario.
It looks like the operator installation needs some tweaking to be compatible with all-numeric namespaces!
Yes.
This is also why I asked you to test the
123
scenario.
Yes. Are you interested in fixing that?
Yes. Are you interested in fixing that?
Of course.
Hi~, @chaunceyjiang,Judging from the issue you described, this problem has been reflected in https://github.com/karmada-io/karmada/issues/4128 . You can see if https://github.com/karmada-io/karmada/pull/4315 has solved your problem.
If you can confirm that your PR #4315 did not solve this issue, I will continue to fix this problem.
If you can confirm that your PR #4315 did not solve this issue, I will continue to fix this problem.
My pr solves a different problem, you can go on~
What happened:
failed to install etcd component using operator model
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl-karmada version
orkarmadactl version
):