Skip to content

Commit

Permalink
Welcome to Stack Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalyan Reddy Daida authored and Kalyan Reddy Daida committed Jul 20, 2020
1 parent b3b0b17 commit bc52e1d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions 06-YAML-Basics/sample-file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Simple Key value Pairs
person: # Dictionary
name: kalyan
age: 23
city: Hyderabd
hobbies: # List
- cooking
- cycling
friends: # Multiple lists
- name: friend1
age: 23
- name: friend2
age: 22
--- # YAML Document Separator
apiVersion: v1 # String
kind: Pod # String
metadata: # Dictionary
name: myapp-pod
labels: # Dictionary
app: myapp
tier: frontend
spec:
containers: # List
- name: myapp
image: stacksimplify/kubenginx:1.0.0
ports: # List
- containerPort: 80
protocol: "TCP"
- containerPort: 81
protocol: "TCP"





0 comments on commit bc52e1d

Please sign in to comment.