Skip to content

Instantly share code, notes, and snippets.

Avatar

Eknathreddy09

View GitHub Profile
@Eknathreddy09
Eknathreddy09 / create-4.yaml
Created Sep 17, 2020
Create pod in specific namespace
View create-4.yaml
apiVersion: v1
kind: Pod
metadata:
name: app-2
namespace: amazon
spec:
- name: app-2
image: nginx
View create-ns.yaml
apiVersion: v1
kind: Namespace
metadata:
name: amazon
View create-pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: app-1
spec:
- name: app-1
image: nginx
You can’t perform that action at this time.