website
website copied to clipboard
Installation by Binary, the steps to install karmada-controller-manager failed
Through binary installation documentation, the steps to install karmada-controller-manager failed.
The error log:
controllermanager.go:807] error starting controllers: [no matches for kind "ResourceBinding" in version "work.karmada.io/v1alpha2", no matches for kind "ClusterResourceBinding" in version "work.karmada.io/v1alpha2"]
This error is reported because Karmada's CRD resources are not installed. The steps to install CRD resources are still behind, and the sequence of steps in the document needs to be adjusted.
/help
@XiShanYongYe-Chang: This request has been marked as needing help from a contributor.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.
In response to this:
This error is reported because Karmada's CRD resources are not installed. The steps to install CRD resources are still behind, and the sequence of steps in the document needs to be adjusted.
/help
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
After compiling and installing nginx, configure Nginx according to the documentation and configure load balancing for karmada apiserver. Add the following configuration to /usr/local/karmada-nginx/conf/nginx.conf:
stream {
upstream backend {
hash consistent;
server 172.31.209.245:6443 max_fails=3 fail_timeout=30s;
server 172.31.209.246:6443 max_fails=3 fail_timeout=30s;
server 172.31.209.247:6443 max_fails=3 fail_timeout=30s;
}
server {
listen 172.31.209.245:5443;
proxy_connect_timeout 1s;
proxy_pass backend;
}
}
Failed to start /lib/systemd/system/karmada-nginx.service service, the error log:
unknown directive "http" in /usr/local/karmada-nginx/conf/nginx.conf:17
Install karmada-aggregated-apiserver step, kubectl create ns karmada-system failed, we need to do the following steps first:
cp /etc/karmada/admin.kubeconfig ~/.kube/config
mkdir -pv /root/.kube/pki/
cp /etc/karmada/pki/admin.crt /root/.kube/pki/
cp /etc/karmada/pki/admin.key /root/.kube/pki/
cp /etc/karmada/pki/server-ca.crt /root/.kube/pki/
How to adjust the validity period of a certificate generated using an official script(https://github.com/karmada-io/website/tree/main/docs/resources/installation/install-binary/generate_cert)?
How to adjust the validity period of a certificate generated using an official script(https://github.com/karmada-io/website/tree/main/docs/resources/installation/install-binary/generate_cert)?
Hi @chaosi-zju, can you help take a look?
/assign @xuyongsan
If you encounter any problems during the submission process, you can provide direct feedback.