You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Deployment fails to OKE cluster

edited Jul 21, 2020 12:57AM in Visual Builder Studio 1 comment

Summary

Issue with yaml file when attempting to deploy node.js app

Content

I followed all instructions (many times) using the "Deploy the Docker Image of a Node.js Microservice to OCI Container Engine for Kubernetes using Visual Builder Studio" Oracle Help Center Tutorial. Please view the Build log snippet. As you can see, the oci ce cluster command works; the create secret works; the service gets created, but it fails every time with the Deployment section. I also attached the yaml file. Any ideas? I'm stuck.

Code Snippet

[2020-07-21 00:55:34] secret/ocirsecret created
[2020-07-21 00:55:34] + kubectl create -f nodejs_micro.yaml
[2020-07-21 00:55:36] service/nodejsmicroappocir-k8s-service created
[2020-07-21 00:55:36] error: unable to recognize "nodejs_micro.yaml": no matches for kind "Deployment" in version "apps/v1beta1"
[2020-07-21 00:55:36] Error: Command exited with status 1
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!