File tree Expand file tree Collapse file tree 4 files changed +21
-1
lines changed
containers-orchestration/managed-kubernetes/use-image-from-registry Expand file tree Collapse file tree 4 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -50,3 +50,5 @@ ai/ai-endpoints/java-langchain4j-chatbot/target/test-classes/com/ovhcloud/exampl
50
50
.env
51
51
use-cases /kubeflow /ovhrc.sh
52
52
use-cases /kubeflow /kubeconfig
53
+ my_kube_cluster.yaml
54
+ kustomize
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ kubectl --kubeconfig=$KUBE_CLUSTER get secret ovhregistrycred -o jsonpath="{.dat
42
42
cd overlays/wescale
43
43
44
44
kustomize edit set image hello-ovh=" ${PRIVATE_REGISTRY_URL_WITHOUT_SCHEME} /${PRIVATE_REGISTRY_PROJECT} /hello-ovh:1.0.0-linuxamd64"
45
- cd ../..
46
45
```
47
46
48
47
- Deploy an app (linked to the created private registry)
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ name : hello-ovh-deployment
5
+ spec :
6
+ replicas : 1
7
+ template :
8
+ spec :
9
+ containers :
10
+ - name : hello-ovh
11
+ image : hello-ovh:1.0.0
12
+ imagePullSecrets :
13
+ - name : ovhregistrycred
Original file line number Diff line number Diff line change
1
+ apiVersion : kustomize.config.k8s.io/v1beta1
2
+ kind : Kustomization
3
+ resources :
4
+ - ../../base
5
+ patches :
6
+ - path : deployment.yaml
You can’t perform that action at this time.
0 commit comments