Skip to content

Instantly share code, notes, and snippets.

apiVersion: v1
kind: Pod
metadata:
name: app-1
spec:
- name: app-1
image: nginx
apiVersion: v1
kind: Namespace
metadata:
name: amazon
@Eknathreddy09
Eknathreddy09 / create-4.yaml
Created September 17, 2020 05:31
Create pod in specific namespace
apiVersion: v1
kind: Pod
metadata:
name: app-2
namespace: amazon
spec:
- name: app-2
image: nginx