oracle-database-operator
oracle-database-operator copied to clipboard
Cannot deploy XEDB-Sample
Environment:
- OS: Windows 11 (WSL2) and macOS Monterey Version 12.6
- Docker Desktop 4.15.0 (93002)
- Running on minikube version: v1.26.0
Installation
- Installed the operator
- Changed PWDs in config\samples\sidb\singleinstancedatabase_secrets.yaml
- Changed "storageClass" to "standard" in config\samples\sidb\singleinstancedatabase_express.yaml
- kubectl apply -f singleinstancedatabase_express.yaml
Result
>> kubectl logs xedb-sample-a62zg
Error from server (NotFound): pods "xedb-sample-a62zg" not found
>> kubectl get pods
NAME READY STATUS RESTARTS AGE
xedb-sample-f9unn 0/1 Init:0/2 0 46s
>> kubectl get pods
NAME READY STATUS RESTARTS AGE
xedb-sample-f9unn 0/1 Init:0/2 0 48s
>> kubectl get pods
NAME READY STATUS RESTARTS AGE
xedb-sample-f9unn 0/1 Init:0/2 0 53s
>> kubectl get pods
NAME READY STATUS RESTARTS AGE
xedb-sample-hco8y 0/1 Init:0/2 0 20s
>> kubectl get pods
NAME READY STATUS RESTARTS AGE
xedb-sample-k0a2g 0/1 Init:0/2 0 87s
>> kubectl get pods
NAME READY STATUS RESTARTS AGE
xedb-sample-k0a2g 0/1 Init:0/2 0 2m47s
>> kubectl get pods
NAME READY STATUS RESTARTS AGE
xedb-sample-k0a2g 0/1 Init:0/2 0 2m51s
>> kubectl get pods
NAME READY STATUS RESTARTS AGE
xedb-sample-k0a2g 0/1 Init:0/2 0 3m17s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 2m43s default-scheduler Successfully assigned default/xedb-sample-tay14 to minikube
Normal Pulling 2m42s kubelet Pulling image "container-registry.oracle.com/database/express:latest"
It seems that he is not able to pull the images and minikube is creating pod after pod....
Can you support us here?
Thanks.
maybe some advise is to check does you added docker repository credentials to service account which is downloading image (I believe it will be default) as container-registry.oracle.com require authentication.
docker pull container-registry.oracle.com/database/express:latest
Error response from daemon: Head "https://container-registry.oracle.com/v2/database/express/manifests/latest": unauthorized: authentication required
Here is article how to add it into kubernetes: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/