Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Brought to you by... Written by: Matt Butcher and Karen Chu Phippy, Zee, and Phippy Goes to the Zoo are copyright The Linux Foundation, on behalf of the Cloud Native Computing Foundation. They are licensed under Creative Commons Attribution (CC-BY). See phippy.io. phippy.io Illustrated by: Bailey Beougher Illustration of Goldie is based on the Go Gopher designed by Renee French

Slide 3

Slide 3 text

“I’m bored Aunt Phippy,” Zee slouched further down on the couch. “What are we going to do today?” “Why not go see the animals?” said Phippy with a smile. “We’ll go to the zoo!” Ú

Slide 4

Slide 4 text

7KHæUVWDQLPDOVWKH\FDPHXSRQZHUHWKHVL]HRIVTXLUUHOV)XUU\DQGEOXHHDFKOLWWOHDQLPDOFDUULHGDWLQ\ER[ as they unceasingly zipped back and forth. “Those,” said Phippy, “are Pods. All day and all night, they run back and forth carrying their little containers.” “Is that all they do, Aunt Phippy?” Ú

Slide 5

Slide 5 text

,Q.XEHUQHWHV3RGVDUHUHVSRQVLEOHIRUUXQQLQJ\RXUFRQWDLQHUV(YHU\3RGKROGVDWOHDVWRQHFRQWDLQHU DQGFRQWUROVWKHH[HFXWLRQRIWKDWFRQWDLQHU:KHQWKHFRQWDLQHUVH[LWWKH3RGGLHVWRR

Slide 6

Slide 6 text

As Phippy and Zee walked on, they saw a large glass enclosure. Pressed against the window was a line of happy little meerkat faces. “Those are the ReplicaSets,” said Phippy. As Zee watched, the face on the right grinned widely, and tipped itself off the ledge. In unison, the others hopped RYHUWRæOOWKHVSDFHDQGWKHQDQLGHQWLFDOPHHUNDWVFXUULHGXSRQWKHOHIWVLGH Ú(YHU\WLPHRQHOLWWOHUHSOLFDIDOOVDQRWKHURQHKRSVULJKWXSÛH[SODLQHG3KLSS\

Slide 7

Slide 7 text

A ReplicaSet ensures that a set of identically configured Pods are running at the desired replica count. If a Pod drops off, the ReplicaSet brings a new one online as a replacement.

Slide 8

Slide 8 text

Walking further, Zee pointed out a clump of burrows and warrens. While there were plenty of signs that the area ZDVLQKDELWHGQHLWKHU3KLSS\QRU=HHFRXOGVHHDVLQJOHPRYHPHQW “The Secrets are in here,” said Phippy. “but you can’t see them without these decoder glasses.” Zee took the pair of glasses Phippy offered, slid them on, and blushed. “Oh, my. I think I’m ready to go on now, Aunt Phippy.” Zee handed back the glasses, and onward they went.

Slide 9

Slide 9 text

Secrets are used to store non-public information, such as tokens, certificates, or passwords. Secrets can EHDWWDFKHGWR3RGVDWUXQWLPHVRWKDWVHQVLWLYHFRQILJXUDWLRQGDWDFDQEHVWRUHGVHFXUHO\LQWKHFOXVWHU

Slide 10

Slide 10 text

A group of iguanas gathered near a large slingshot along the shore of a pond. An island stood in the center of the water. An iguana threw herself into the slingshot and the other iguanas launched the little beast toward the island. “The Deployments release a group onto the island. Right now, they’re trying to get three out there.” said Phippy. At that moment another iguana rocketed into the air but missed the island with a colossal splash in the pond. Phippy said, “If they miss, they just keep trying until they get as many as they need.”

Slide 11

Slide 11 text

A Deployment is a higher-order abstraction that controls deploying and maintaining a set of Pods. Behind the scenes, it uses a ReplicaSet to keep the Pods running, but it offers sophisticated logic for deploying, updating, and scaling a set of Pods within a cluster.

Slide 12

Slide 12 text

6HYHUDOVWRQHSLOODUVDURVHIURPDJUDVV\NQROODQGDWWKHWRSRIHDFKVDWDYXOWXUH$V=HHDQG3KLSS\ZDWFKHG RQHYXOWXUHVSUHDGLWVZLQJVDQGçDSSHGRIILQWRWKHGLVWDQFH1RVRRQHUKDGRQHOHIWWKDQDQRWKHUWRRNLWVSODFH Zee asked, “What are they doing?” Ú7KRVHDUH'DHPRQ6HWVÛVDLG3KLSS\Ú7KH\PDNHVXUHWRRFFXS\HYHU\SLOODUUDLQRUVKLQHGD\RUQLJKWÛ “I bet that if we added a new pillar, a new bird would land on it faster than you could say ‘cube cuddle,’” chuckled Phippy.

Slide 13

Slide 13 text

'DHPRQ6HWVSURYLGHDZD\WRHQVXUHWKDWDFRS\RID3RGLVUXQQLQJRQHYHU\QRGHLQWKHFOXVWHU$VD cluster grows and shrinks, the DaemonSet spreads these specially labeled Pods across all of the nodes.

Slide 14

Slide 14 text

=HHOHWRXWDJDVS0XOWLFRORUHGçDVKHVHUXSWHGIURPWKHRSSRVLWHVLGHRIWKHFRUDO,QVWHDGRIFRPLQJRXWRIDVLQJOHKROH WKHæVKVHHPHGWRPDWHULDOL]HIURPWLQ\æVVXUHVDOORYHUWKHIDUVLGHRIWKHURFN “Ingresses are beautiful,” said a dreamy eyed Phippy. Enchanted, Zee muttered, “Uh-huh.” $VWKH\ZDONHGRQWKH\VDZDQDTXDULXPZLWKDQHQRUPRXVUHHI(GJHWRHGJHLWDSSHDUHGWKDWWKHURFNZRXOGNHHS DQ\WKLQJIURPSDVVLQJIURPRQHVLGHWRWKHRWKHU=HHZDWFKHGDVKXQGUHGVRIWLQ\æVKPDGHDGDVKIRUWKHFHQWHURIWKH IDFHRIWKHURFN$WIXOOVSHHGWKHæVKVZDPLQWRDKROHERUHGLQWRWKHURFNIDFHDQGPRPHQWDULO\YDQLVKHGIURPVLJKW

Slide 15

Slide 15 text

,QJUHVVHVSURYLGHDZD\WRGHFODUHWKDWWUDIILFRXJKWWREHFKDQQHOHGIURPWKHRXWVLGHRIWKHFOXVWHULQWR GHVWLQDWLRQSRLQWVZLWKLQWKHFOXVWHU2QHVLQJOHH[WHUQDO,QJUHVVSRLQWFDQDFFHSWWUDIILFGHVWLQHGWR PDQ\GLIIHUHQWLQWHUQDOVHUYLFHV

Slide 16

Slide 16 text

=HHSRLQWHGWRWKHUDFFRRQVVSUDZOHGPRWLRQOHVVLQWKHQH[WHQFORVXUHÚ:KDWØVZURQJZLWKWKHP"Û Suddenly, one sprung to its feet, did jumping jacks, then settled back down for another nap. Ú7KRVHDUH&URQ-REVÛVDLG3KLSS\Ú0RVWO\WKH\MXVWVOHHS%XWSHULRGLFDOO\WKH\VSULQJLQWRDFWLRQWRGRDVSHFLæF job.” As she spoke, another bolted upright, grabbed a broom, swept the entire enclosure, and then dropped off to sleep again. “Aunt Phippy, can I bring that one home to clean my room?” Phippy laughed as they walked on.

Slide 17

Slide 17 text

&URQ-REVSURYLGHDPHWKRGIRUVFKHGXOLQJWKHH[HFXWLRQRI3RGV7KH\DUHH[FHOOHQWIRUUXQQLQJSHULRGLF tasks like backups, reports, and automated tests.

Slide 18

Slide 18 text

=HHKDOWHGDEUXSWO\,QWKHGLVWDQFHDEODFNUDLOHGIHQFHDURVH7KHDUFKHVDERYHWKHSHQZHUHPDUNHG&5' Between the bars, Zee could make out some peculiar critters. A giraffe with a hippopotamus head. A snake with UDFFRRQHDUV$OLRQZLWKDEHDYHUØVWDLO$XQLFRUQZLWKQRKRUQ=HHZDVQØWVXUHVKHOLNHGWKHORRNVRIWKDWSODFH “Oh,” said Phippy, a look of concern on her face, “Uh… look! It’s lunch time! We’d better head home.” With a look of mild relief, Zee complied. “Can we stop at Captain Kube’s Shake Shop on the way out?”

Slide 19

Slide 19 text

&XVWRP5HVRXUFH'HILQLWLRQV RU &5'V SURYLGH DQ H[WHQVLRQ PHFKDQLVP WKDW FOXVWHU RSHUDWRUV DQG GHYHORSHUVFDQXVHWRFUHDWHWKHLURZQUHVRXUFHW\SHV

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content