-
Notifications
You must be signed in to change notification settings - Fork 876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
karmada-operator: add init workflow #3102
karmada-operator: add init workflow #3102
Conversation
Hi @calvin0327 I can't figure out the process now. According to #2979, seems all tasks are now in |
I have discussed with @carlory, and we will install karmada using the latest design, if the community thinks it is ok, |
The process is same as |
😄,we will go on. |
7c2206d
to
52e72d6
Compare
1adf130
to
854a6cb
Compare
Here are the test result:
first, we need create secret of install cluster kubeconfig used by karmada operator, and create karmada operator deployment: kubectl create secret generic my-kubeconfig --from-file=/Users/chenwen/.kube/config -n karmada-system
kubectl apply -f operator/config/deploy/karmada-operator.yaml
kubectl apply -f operator/config/samples/karmada.yaml apiVersion: operator.karmada.io/v1alpha1
kind: Karmada
metadata:
namespace: test
name: karmada-demo
|
No worries, please tell us how to run it. |
There are demo steps above, I would like to explain if there is anything unclear here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tested it in my env that worked fine. It was cool!!
[root@master67 config]# kubectl get pod -A
NAMESPACE NAME READY STATUS RESTARTS AGE
karmada-system karmada-demo-aggregated-apiserver-575df97794-lsk75 1/1 Running 2 47m
karmada-system karmada-demo-apiserver-6d8fbf4766-z68k9 1/1 Running 0 47m
karmada-system karmada-demo-controller-manager-5b86f67954-8t974 1/1 Running 0 47m
karmada-system karmada-demo-etcd-0 1/1 Running 0 47m
karmada-system karmada-demo-kube-controller-manager-747b44bff6-k4dl5 1/1 Running 0 47m
karmada-system karmada-demo-scheduler-c8fd7f499-t5nt2 1/1 Running 0 47m
karmada-system karmada-demo-webhook-d8c5bb46d-kxkb2 1/1 Running 0 47m
karmada-system karmada-operator-845d586cd7-dbks7 1/1 Running 0 57m
There are some suggestions for the moment, I will continue to review it.
bf7be2c
to
325373a
Compare
325373a
to
1488a12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions.
74bb49d
to
85671b8
Compare
/assign |
Signed-off-by: calvin <[email protected]>
85671b8
to
ec53c2a
Compare
LGTM, it has achieved a basic init worklow, we can optimize it in the feature. |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: calvin [email protected]
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Part of Fixes #2979
Special notes for your reviewer:
Used workflow to install karmada. We divided the whole installation process into:
PrepareCrds
=>GenerateCert
=>CreateNamespace
=>UploadKubeconfig
=>UploadCerts
=>
Install Etcd
=>Apiserver
=>apply crds
=>install Component
=>install module
=>WaitControlPlane
Does this PR introduce a user-facing change?: