VISUAL BASIC

INTRODUCTION TO NET

APPLICATION DEVELOPMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
You have used Oracle Developer Cloud to deploy the Docker image by pulling it from DockerHub onContainer Engine for Kubernetes cluster. Which two commands can be used to get the external IPaddress?
A
$ kubectl get nodes
B
$ kubectl get cluster-info
C
$ kubectl get services
D
$ kubectl get pods
Explanation: 

Detailed explanation-1: -ocir.io is the Oracle Cloud Infrastructure Registry name. <tenancy-namespace> is the auto-generated Object Storage namespace string of the tenancy (as shown on the Tenancy Information page) containing the repository from which the application is to pull the image.

Detailed explanation-2: -Before you can push and pull Docker images to and from Oracle Cloud Infrastructure Registry (also known as Container Registry): You must have access to an Oracle Cloud Infrastructure tenancy.

Detailed explanation-3: -Conclusion. To pull the Docker image from a private registry, users are required to start the registry container. Then, log in to the private registry. After that, utilize the “docker pull <image-name>” command to pull the Docker image from Docker private registry.

Detailed explanation-4: -create an auth token for use with Oracle Cloud Infrastructure Registry. create a new repository. log in to Oracle Cloud Infrastructure Registry from the Docker CLI. pull a test image from DockerHub. tag the image. push the image to Oracle Cloud Infrastructure Registry using the Docker CLI. More items

Detailed explanation-5: -Creating a Dockerfile. Building an Image from Dockerfile. Validate if the Image is created and Listed. Optionally upload to docker Hub to share with the world. Start the Container from Image. Create Manifest file for kubernetes. Build and Create a POD from Manifest file. More items •19-Jun-2022

Detailed explanation-6: -Step 1: Test the sample application locally. Fork and clone the sample notes application. Step 2: Containerize the application. Step 3: Create or get access to a Kubernetes cluster. Step 4: Make sure the Kubernetes manifest files are neat and clean. Step 5: Let’s automate the deployment using Harness. 13-Feb-2023

There is 1 question to complete.