Closed fbalicchia closed 3 years ago
Check if the pod status corresponding to mariadb is Running
yes it seems up
kubefate-kubefate-kubefate-sample-54fd448c58-mq6hc 0/1 Error 1 48s
kubefate-mariadb-kubefate-sample-5b6b4798fc-ktzgs 1/1 Running 0 48s
2021-03-22T12:58:38Z INF workspace/pkg/api/service.go:89 > logLevel: debug
2021-03-22T12:58:38Z INF workspace/pkg/api/service.go:90 > api version: v1
2021-03-22T12:58:38Z INF workspace/pkg/api/service.go:91 > service version: v1.3.0
2021-03-22T12:58:38Z INF workspace/pkg/api/service.go:92 > DbType: mysql
2021-03-22T12:58:38Z INF workspace/pkg/api/service.go:93 > LogNocolor: true
2021-03-22T12:58:38Z INF workspace/pkg/api/service.go:94 > server: [0.0.0.0:8080]
2021-03-22T12:58:53Z ERR workspace/pkg/api/service.go:98 > initDb error, error="initialization failed: Error 1045: Access denied for user 'kubefate'@'10.244.0.7' (using password: YES)"
initialization failed: Error 1045: Access denied for user 'kubefate'@'10.244.0.7' (using password: YES)
These are steps i have done:
cat clusterconfig-1.18.yaml << EOF > clusterconfig-1.18.yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
image: kindest/node:v1.18.8
extraPortMappings:
- containerPort: 31080
hostPort: 80
- containerPort: 31443
hostPort: 443
EOF
kind create cluster --config clusterconfig-1.18.yaml --name fate-operator
from fate-operator root folder
export IMG=federatedai/fate-controller:aa71232522c
make docker-build-without-test
kind load docker-image federatedai/fate-controller:aa71232522c --name fate-operator
make deploy
k get pods -n fate-operator-system
fate-operator-controller-manager-6c479ff855-stmmp 2/2 Running 0 31s
kubectl apply -f config/samples/rbac-config.yaml
kubectl apply -f config/samples/kubefate-secret.yaml
k create ns fate-9999
kubectl create -f ./config/samples/app_v1beta1_kubefate.yaml
k get pods -n kube-fate
@fbalicchia Thanks for reporting the bug. We have fixed it with a PR: https://github.com/kubeflow/fate-operator/pull/33
Hello I'm trying to use fate-operator and use it with KinD at rev
aa71232
. After deploy operator and applyingif check log in opertor seems that It can accesso to db
Thanks
--Filippo