Skip to main content

Auxiliary Commands

Overview

This reference page outlines key commands used during installation, setup, and deployment. The commands are grouped into two main categories: kubectl Commands and Helm Commands. Each command entry includes usage examples and expected output, helping you navigate development and debugging.

kubectl Commands

List the OBLV CRDs

Displays all the OBLV Custom Resource Definitions (CRDs) available in the cluster.

kubectl get crds | grep k8s.oblv.com

Describe the NitroEnclaveDeployment CRD

Provides a detailed description of a specific CRD.

kubectl describe crd nitroenclavedeployments.k8s.oblv.com

List NitroEnclaveDeployments

Lists all current Nitro Enclave deployments, providing a quick overview of deployment names, readiness, age, and status.

kubectl get ned

Example output:

NAMEREADYAGESTATUS
first-deploy0/218sSCHEDULED
second-deploy0/27sSCHEDULED

List Child Pods of a NitroEnclaveDeployment

Returns the list of pods that manages the enclaves of any given NitroEnclaveDeployment

kubectl get pods -l nitroenclavedeployments.k8s.oblv.com/name=<nitro-enclave-deployment-name> -n <namespace>

Get the Configuration File

Retrieves the config.yaml file for a specific deployment, directly from the specified controller pod.

kubectl get configmap hello-fastapi-oblv-cli-config  -o jsonpath='{.data.config\.yaml}'

Find the OBLV Deploy Controller Pod

Gets the list of controller pods that are managing the NitroEnclaveDeployment

kubectl get po -A | grep oblv-deploy-chart-deploy-controller

Retrieve Controller Logs

Fetches logs from a specific controller within the given namespace. Use this command for debugging and monitoring the controller's operations.

kubectl logs <controller-pod-name> -n <namespace>

Helm Commands

List Installed Charts

Displays all Helm charts installed across every namespace, aiding in tracking and management of Helm deployments.

helm list -A