Main Menu
- Home
- Kubernetes
- Containerization Stack (DevOps)
- Oracle Cloud Native Environment (OCNE)
- Linux
- Linux "FIND" Command related Articles
- Linux "YUM" Command related Articles
- Linux "PS" Command related Articles
- "AWK" Command related Articles
- Linux "RPM" Command related Articles
- "PING" Command related Articles
- "NTP" related Articles
- Linux Network related Articles and Commands
- Linux Security related Articles
- Linux Troubleshooting Articles
- Linux FILESYSTEM related Articles
- Linux INFINIBAND Network related Articles
- Linux "MOUNT" Command related Articles
- Linux Shell Script Articles
- "BIOS" related Linux Articles
- "NFS" related Articles
- "GREP" Commands related Articles
- Linux "CPU" & "Memory" related Articles
- "SED" Command related Articles
- "SYSTEMCTL" Commands related Articles
- Logical Volumes related Articles
- "TCPDUMPS" related Articles
- GitHub Repositories (tarbots)
- About tarbots
Search
HTML - Home - ABOUT TARBOTS
Welcome to tarbots.com ... AI Search Assistant
This site has articles which provides information on everyday commands, procedures & scripts for DevOps & Infrastructure technologies which will be very useful for System Admin, DevOps, CloudOps, Network Admins and any teams or individuals working on Infrastructure technologies.
CLICK HERE to learn more about tarbots.com
Technologies Covered In This Site
HTML - HOME - RECENT ARTICLES TITLE
Recent Articles
LINUX: How to Create Two or More Custom Partitions From Single Attached Disk (FDISK)
PODMAN / CRIO: How To Manually Test Pulling Container Images From Oracle Container Registry (OCR) Using Podman & CRIO?
We can manually pull nginx container image from Oracle container registry (OCR) from podman or CRIO to test if they are installed correctly and if the images are getting pulled without issues.
Following commands can be used.
Podman
podman pull container-registry.oracle.com/olcne/nginx:1.17.7
CRIO
crictl pull container-registry.oracle.com/olcne/nginx:1.17.7
Keywords:
pulling pull container containers image images container-registry.oracle.com ocr registries issues problems test check testing checking
KUBERNETES How to Start / Run Temporary Pod On Specific Node In Kubernetes
You can start a pod temporarily on specific node for testing by using kubectl command as follows:
kubectl run <name> --image=<image> --overrides='{"apiVersion": "v1", "spec": {"nodeSelector": {"kubernetes.io/hostname": "<hostname>"}}}' --restart=Never
With above command a temporary pod with specified name and image will be started on the node specified. The pod will not start once you delete the pod since restart is specified as "Never".
For e.g. to start nginx pod using nginx image in Oracle container registry on worker1 node, your command will look as follows:
kubectl run nginx --image=container-registry.oracle.com/olcne/nginx:1.17.7 --overrides='{"apiVersion": "v1", "spec": {"nodeSelector": {"kubernetes.io/hostname": "worker1"}}}' --restart=Never
Keywords:
temporarily starting running pod pods test testing without deployment deployments yaml file files pull pulliing particular desired choice
KUBERNETES: How to Start / Run Temporary Pod For Testing In Kubernetes
You can start a pod temporarily for testing by using kubectl command as follows:
kubectl run <name> --image=<image> --restart=Never
With above command a temporay pod with specified name and image will be deployed. The pod will not start once you delete the pod since restart is specified as "Never"
For e.g. to start nginx pod using nginx image in Oracle container registry, your command will look as follows:
kubectl run nginx --image=container-registry.oracle.com/olcne/nginx:1.17.7 --restart=Never
Keywords:
temporarily starting running pod pods test testing without deployment deployments yaml file files pull pulliing