SlideShare a Scribd company logo
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Wstęp do programowania w
chmurze przy użyciu
Kubernetesa
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
R&D, Innowacje
Top ecommerce,
marketing, billing
Najlepszy Pracodawca
2017 w rankingu AON
Jedno z 20 centrów
SAP’s Labs Network
> 350 pracowników
Development: Go, Java,
Cloud Native solutions
DevOps, SysOps
Support, Consulting
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
?
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
niewielkie koszty
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
ograniczone zarządzanie infrastrukturą
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
nieograniczone zasoby*
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
dostępność
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
U mnie działa…
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Piotr Mścichowski, SAP
Wstęp do Kubernetesa
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Kto słyszał już o
Kubernetesie?
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Czym jest Kubernetes ?
• Platformą do zarządzania aplikacjami uruchomionymi w kontenerach
• Otwartym projektem utworzonym przez Google
• Projektem rozwijanym w Go
• K8s
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Główne komponenty K8s
apiserver
Wystawia API K8s
cloud-controller-
manager
Kontroller komunikujący
się bezpośrednio z
dostawcją infrastruktury
etcd
“baza” klucz-wartość
scheduler
przypisuje pody do węzłów
kube-controller-
manager
 szef wszystkich szefów
czyt. kontrollerów
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Komponenty węzła
kubelet
Dba o uruchomione
kontenery
kube-proxy
Przekierowuje połączenia
container-runtime
Runtime dla kontenerów
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Dodatki
• DNS
• Dashboard
• Logowanie
• Monitorowanie (metryki)
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Komunikacja z Kubernetesem
• Restowe API
• Kubectl
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Wdrażanie aplikacji
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Przygotować skrypt instalacyjny ?
 Nope
Utworzyć Deployment ?
 Yup
Jak uruchomić aplikację w Kubernetesie ?
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
“Deployment is responsible for
creating and updating
instances of your application”
https://kubernetes.io
Deployment?
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
• Przygotuj obraz konteneru Twojej aplikacji
• Określ ile chcesz instancji(kopii) aplikacji
• Zapisz porty na których Twoja aplikacja nasłuchuje
• Całość włóż do pliku z roszerzeniem yaml lub json
• Posyp komendą kubectl create/apply
• Gotowe!
Przepis na Deployment
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
kubectl apply –f httpbin.yaml
kubectl get deployment
Deployment cd.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Pod
• Gospodarz kontenerów z aplikacjami
• Udostępnia aplikacjom :
• wspólną przestrzeń na dane
• sieć (unikalne adresy IP)
• Posiada informacje o tym jak każdy kontener
uruchomić
Node
• Nadzorca Podów
• Fizyczny lub wirtualny
• Pojedynczy węzeł może mieć wiele
podów
Ale czy to wszystko?
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Pod
Node
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
kubectl get pod POD_NAME –o yaml
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
kubectl get node NODE_NAME –o yaml
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
• Usługi (Services)
• Adres IP w podzie jest unikalny
w klastrze ale nie jest widoczny
na zewnątrz
• Usługa powiązana jest z Podami
za pomocą etykiet -
“selectorów” *
• 4 typy usług (ClusterIP,
NodePort, LoadBalancer,
ExternalName)
Huston, can you hear me ?
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
• Ingress
• Odszyfrowanie ruchu (SSL
termination)
• Dystrybuowanie ruchu (Load
Balancing)
• Hostowanie (Virtual name
hosting)
• Ingress controller
Komunikacja z zewnątrz do
klastra
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Co dalej ?
https://kubernetes.io/docs
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Demo
Piotr Miśkiewicz, SAP
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
meme quote
Przeglądarka
HTTP GET
HTTP GET
quote
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Kubernetes
meme service quote service
meme
pod
quote
podHTTP GET: http://quote/quote
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Mateusz Szostok, SAP
Dalsze życie naszej
aplikacji
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Efekt Slashdota
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Efekt Slashdota
 Digg efekt
 Reddit efekt
 Twitter efekt
 Wykop efekt
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Efekt Slashdota
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Skalowanie
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Typy skalowania
Wertykalne
Horyzontalne
vs.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Czas na demo
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
funkcjonalności
funkcjonalności
funkcjonalności
funkcjonalności
funkcjonalności funkcjonalności
funkcjonalności
funkcjonalności
funkcjonalnościfunkcjonalności
funkcjonalności
funkcjonalności
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Typy skalowania
spec:
replicas: 4
strategy:
type: Recreate
spec:
replicas: 4
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 2
maxUnavailable: 50%
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Kogo szukamy?
• Nowoczesne technologie
• Zgrany zespół
• Elastyczność
• Agile
• Shadowing
• Szkolenia
• Cloud Software Engineer
(Cloud Native Solutions, Go, NodeJS)
• Technical Account Support
• iOS Developer
• Junior Demo Solutions Developer
• Education Sales Support
Specialist
https://goo.gl/sN3Jyf
Aplikuj tutaj
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
Nadchodzące wydarzenia
• Wstęp do programowania w chmurze przy użyciu
Kubernetes'a
Wykłady - AEiI
(14:00 – 15:30, s.428)
Warszaty – SAP Hybris
(17:00 – 18:30, s. Death Valley)
10.04
19.04 • Tworzenie testowalnej aplikacji, czyli TDD w praktyce
25.04• Bots everywhere
10.05 • Angular – stań się kanciastym
23.0
5
30.0
5
10.05
• Troubleshooting przy pomocy Spring AOP
• Ghost in the shell
• DevOps - czyli jak przestałem klikać i pokochałem
automatyzację
https://fb.com/Hack.your.Career Zarejestruj się na wydarzenie
© 2016 SAP SE or an SAP affiliate company. All rights reserved.© 2016 SAP SE or an SAP affiliate company. All rights reserved.
THANK YOU

More Related Content

Similar to Wstęp do programowania w chmurze przy użyciu Kubernetesa

Jak nadążyć za światem front-endu - WordPress Training Day
Jak nadążyć za światem front-endu - WordPress Training DayJak nadążyć za światem front-endu - WordPress Training Day
Jak nadążyć za światem front-endu - WordPress Training Day
Tomasz Dziuda
 
Introtogo
IntrotogoIntrotogo
Introtogo
Tomasz Pietrek
 
Integration framework dla SAP Business One
Integration framework dla SAP Business OneIntegration framework dla SAP Business One
Integration framework dla SAP Business One
Anna Lewandowska
 
Mój pierwszy sklep internetowy
Mój pierwszy sklep internetowyMój pierwszy sklep internetowy
Mój pierwszy sklep internetowy
Ideo Sp. z o.o.
 
Testy wydajnościowe - najlepsze praktyki - Kuba Gajda
Testy wydajnościowe - najlepsze praktyki - Kuba GajdaTesty wydajnościowe - najlepsze praktyki - Kuba Gajda
Testy wydajnościowe - najlepsze praktyki - Kuba Gajda
Bartłomiej Cymanowski
 
Czas na migrację na SAP HANA
Czas na migrację na SAP HANACzas na migrację na SAP HANA
Czas na migrację na SAP HANA
BCC_Group
 
Websites vs Cloud Services - OLMUG
Websites vs Cloud Services - OLMUGWebsites vs Cloud Services - OLMUG
Websites vs Cloud Services - OLMUG
Bart Zaremba
 
4Developers 2015: Skalowanie i integracja systemów w asynchronicznym stylu - ...
4Developers 2015: Skalowanie i integracja systemów w asynchronicznym stylu - ...4Developers 2015: Skalowanie i integracja systemów w asynchronicznym stylu - ...
4Developers 2015: Skalowanie i integracja systemów w asynchronicznym stylu - ...
PROIDEA
 
Jak stworzyliśmy system kudosów w Laravelu i Slacku
Jak stworzyliśmy system kudosów w Laravelu i SlackuJak stworzyliśmy system kudosów w Laravelu i Slacku
Jak stworzyliśmy system kudosów w Laravelu i Slacku
Laravel Poland MeetUp
 
2019.10.08 share con365 2019 open source in azure devops, on the example open...
2019.10.08 share con365 2019 open source in azure devops, on the example open...2019.10.08 share con365 2019 open source in azure devops, on the example open...
2019.10.08 share con365 2019 open source in azure devops, on the example open...
Janusz Nowak
 
Aplikacje natywne dla Kubernetes z wykorzystaniem OpenShift Serverless - Wars...
Aplikacje natywne dla Kubernetes z wykorzystaniem OpenShift Serverless - Wars...Aplikacje natywne dla Kubernetes z wykorzystaniem OpenShift Serverless - Wars...
Aplikacje natywne dla Kubernetes z wykorzystaniem OpenShift Serverless - Wars...
Chris Suszyński
 
NAV365 Microsoft Dynamics NAV w abonamencie
NAV365 Microsoft Dynamics NAV w abonamencieNAV365 Microsoft Dynamics NAV w abonamencie
NAV365 Microsoft Dynamics NAV w abonamencie
IT.integro Sp. z o.o.
 
DevOps & PMO tools by Promiteus
DevOps & PMO tools by PromiteusDevOps & PMO tools by Promiteus
DevOps & PMO tools by Promiteus
KrzysztofKWalczak
 
PLNOG 6: Piotr Wojciechowski - IPv6 - dwa kliknięcia i działa
PLNOG 6: Piotr Wojciechowski - IPv6 - dwa kliknięcia i działa PLNOG 6: Piotr Wojciechowski - IPv6 - dwa kliknięcia i działa
PLNOG 6: Piotr Wojciechowski - IPv6 - dwa kliknięcia i działa
PROIDEA
 
Dostarcz energii swoim projektom z Oracle Project Cloud, Ryszard Krawczyński,...
Dostarcz energii swoim projektom z Oracle Project Cloud, Ryszard Krawczyński,...Dostarcz energii swoim projektom z Oracle Project Cloud, Ryszard Krawczyński,...
Dostarcz energii swoim projektom z Oracle Project Cloud, Ryszard Krawczyński,...
Ewa Stepien
 
Testowanie rozwiązań serverless z LocalStack
Testowanie rozwiązań serverless z LocalStackTestowanie rozwiązań serverless z LocalStack
Testowanie rozwiązań serverless z LocalStack
The Software House
 
Ryszard Krawczyński @ "Przykłady wdrożeń aplikacji Fusion ERP w Chmurze" - "I...
Ryszard Krawczyński @ "Przykłady wdrożeń aplikacji Fusion ERP w Chmurze" - "I...Ryszard Krawczyński @ "Przykłady wdrożeń aplikacji Fusion ERP w Chmurze" - "I...
Ryszard Krawczyński @ "Przykłady wdrożeń aplikacji Fusion ERP w Chmurze" - "I...
Ewa Stepien
 
Jan Lekszycki, Wirtualizacja dla dostawców usług internetowych
Jan Lekszycki, Wirtualizacja dla dostawców usług internetowychJan Lekszycki, Wirtualizacja dla dostawców usług internetowych
Jan Lekszycki, Wirtualizacja dla dostawców usług internetowychWebhosting.pl
 
Wirtualizacja dla dostawców usług internetowych. Wyzwania i możliwości, Jan L...
Wirtualizacja dla dostawców usług internetowych. Wyzwania i możliwości, Jan L...Wirtualizacja dla dostawców usług internetowych. Wyzwania i możliwości, Jan L...
Wirtualizacja dla dostawców usług internetowych. Wyzwania i możliwości, Jan L...Biznes 2.0
 
Microsoft WebsiteSpark - Paweł Kryszczyszyn
Microsoft WebsiteSpark - Paweł KryszczyszynMicrosoft WebsiteSpark - Paweł Kryszczyszyn
Microsoft WebsiteSpark - Paweł KryszczyszynWebhosting.pl
 

Similar to Wstęp do programowania w chmurze przy użyciu Kubernetesa (20)

Jak nadążyć za światem front-endu - WordPress Training Day
Jak nadążyć za światem front-endu - WordPress Training DayJak nadążyć za światem front-endu - WordPress Training Day
Jak nadążyć za światem front-endu - WordPress Training Day
 
Introtogo
IntrotogoIntrotogo
Introtogo
 
Integration framework dla SAP Business One
Integration framework dla SAP Business OneIntegration framework dla SAP Business One
Integration framework dla SAP Business One
 
Mój pierwszy sklep internetowy
Mój pierwszy sklep internetowyMój pierwszy sklep internetowy
Mój pierwszy sklep internetowy
 
Testy wydajnościowe - najlepsze praktyki - Kuba Gajda
Testy wydajnościowe - najlepsze praktyki - Kuba GajdaTesty wydajnościowe - najlepsze praktyki - Kuba Gajda
Testy wydajnościowe - najlepsze praktyki - Kuba Gajda
 
Czas na migrację na SAP HANA
Czas na migrację na SAP HANACzas na migrację na SAP HANA
Czas na migrację na SAP HANA
 
Websites vs Cloud Services - OLMUG
Websites vs Cloud Services - OLMUGWebsites vs Cloud Services - OLMUG
Websites vs Cloud Services - OLMUG
 
4Developers 2015: Skalowanie i integracja systemów w asynchronicznym stylu - ...
4Developers 2015: Skalowanie i integracja systemów w asynchronicznym stylu - ...4Developers 2015: Skalowanie i integracja systemów w asynchronicznym stylu - ...
4Developers 2015: Skalowanie i integracja systemów w asynchronicznym stylu - ...
 
Jak stworzyliśmy system kudosów w Laravelu i Slacku
Jak stworzyliśmy system kudosów w Laravelu i SlackuJak stworzyliśmy system kudosów w Laravelu i Slacku
Jak stworzyliśmy system kudosów w Laravelu i Slacku
 
2019.10.08 share con365 2019 open source in azure devops, on the example open...
2019.10.08 share con365 2019 open source in azure devops, on the example open...2019.10.08 share con365 2019 open source in azure devops, on the example open...
2019.10.08 share con365 2019 open source in azure devops, on the example open...
 
Aplikacje natywne dla Kubernetes z wykorzystaniem OpenShift Serverless - Wars...
Aplikacje natywne dla Kubernetes z wykorzystaniem OpenShift Serverless - Wars...Aplikacje natywne dla Kubernetes z wykorzystaniem OpenShift Serverless - Wars...
Aplikacje natywne dla Kubernetes z wykorzystaniem OpenShift Serverless - Wars...
 
NAV365 Microsoft Dynamics NAV w abonamencie
NAV365 Microsoft Dynamics NAV w abonamencieNAV365 Microsoft Dynamics NAV w abonamencie
NAV365 Microsoft Dynamics NAV w abonamencie
 
DevOps & PMO tools by Promiteus
DevOps & PMO tools by PromiteusDevOps & PMO tools by Promiteus
DevOps & PMO tools by Promiteus
 
PLNOG 6: Piotr Wojciechowski - IPv6 - dwa kliknięcia i działa
PLNOG 6: Piotr Wojciechowski - IPv6 - dwa kliknięcia i działa PLNOG 6: Piotr Wojciechowski - IPv6 - dwa kliknięcia i działa
PLNOG 6: Piotr Wojciechowski - IPv6 - dwa kliknięcia i działa
 
Dostarcz energii swoim projektom z Oracle Project Cloud, Ryszard Krawczyński,...
Dostarcz energii swoim projektom z Oracle Project Cloud, Ryszard Krawczyński,...Dostarcz energii swoim projektom z Oracle Project Cloud, Ryszard Krawczyński,...
Dostarcz energii swoim projektom z Oracle Project Cloud, Ryszard Krawczyński,...
 
Testowanie rozwiązań serverless z LocalStack
Testowanie rozwiązań serverless z LocalStackTestowanie rozwiązań serverless z LocalStack
Testowanie rozwiązań serverless z LocalStack
 
Ryszard Krawczyński @ "Przykłady wdrożeń aplikacji Fusion ERP w Chmurze" - "I...
Ryszard Krawczyński @ "Przykłady wdrożeń aplikacji Fusion ERP w Chmurze" - "I...Ryszard Krawczyński @ "Przykłady wdrożeń aplikacji Fusion ERP w Chmurze" - "I...
Ryszard Krawczyński @ "Przykłady wdrożeń aplikacji Fusion ERP w Chmurze" - "I...
 
Jan Lekszycki, Wirtualizacja dla dostawców usług internetowych
Jan Lekszycki, Wirtualizacja dla dostawców usług internetowychJan Lekszycki, Wirtualizacja dla dostawców usług internetowych
Jan Lekszycki, Wirtualizacja dla dostawców usług internetowych
 
Wirtualizacja dla dostawców usług internetowych. Wyzwania i możliwości, Jan L...
Wirtualizacja dla dostawców usług internetowych. Wyzwania i możliwości, Jan L...Wirtualizacja dla dostawców usług internetowych. Wyzwania i możliwości, Jan L...
Wirtualizacja dla dostawców usług internetowych. Wyzwania i możliwości, Jan L...
 
Microsoft WebsiteSpark - Paweł Kryszczyszyn
Microsoft WebsiteSpark - Paweł KryszczyszynMicrosoft WebsiteSpark - Paweł Kryszczyszyn
Microsoft WebsiteSpark - Paweł Kryszczyszyn
 

Wstęp do programowania w chmurze przy użyciu Kubernetesa

  • 1. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Wstęp do programowania w chmurze przy użyciu Kubernetesa
  • 2. © 2016 SAP SE or an SAP affiliate company. All rights reserved. R&D, Innowacje Top ecommerce, marketing, billing Najlepszy Pracodawca 2017 w rankingu AON Jedno z 20 centrów SAP’s Labs Network > 350 pracowników Development: Go, Java, Cloud Native solutions DevOps, SysOps Support, Consulting
  • 3. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 4. © 2016 SAP SE or an SAP affiliate company. All rights reserved. ?
  • 5. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 6. © 2016 SAP SE or an SAP affiliate company. All rights reserved. niewielkie koszty
  • 7. © 2016 SAP SE or an SAP affiliate company. All rights reserved. ograniczone zarządzanie infrastrukturą
  • 8. © 2016 SAP SE or an SAP affiliate company. All rights reserved. nieograniczone zasoby*
  • 9. © 2016 SAP SE or an SAP affiliate company. All rights reserved. dostępność
  • 10. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 11. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 12. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 13. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 14. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 15. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 16. © 2016 SAP SE or an SAP affiliate company. All rights reserved. U mnie działa…
  • 17. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 18. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Piotr Mścichowski, SAP Wstęp do Kubernetesa
  • 19. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Kto słyszał już o Kubernetesie?
  • 20. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Czym jest Kubernetes ? • Platformą do zarządzania aplikacjami uruchomionymi w kontenerach • Otwartym projektem utworzonym przez Google • Projektem rozwijanym w Go • K8s
  • 21. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Główne komponenty K8s apiserver Wystawia API K8s cloud-controller- manager Kontroller komunikujący się bezpośrednio z dostawcją infrastruktury etcd “baza” klucz-wartość scheduler przypisuje pody do węzłów kube-controller- manager  szef wszystkich szefów czyt. kontrollerów
  • 22. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Komponenty węzła kubelet Dba o uruchomione kontenery kube-proxy Przekierowuje połączenia container-runtime Runtime dla kontenerów
  • 23. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Dodatki • DNS • Dashboard • Logowanie • Monitorowanie (metryki)
  • 24. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Komunikacja z Kubernetesem • Restowe API • Kubectl
  • 25. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Wdrażanie aplikacji
  • 26. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Przygotować skrypt instalacyjny ?  Nope Utworzyć Deployment ?  Yup Jak uruchomić aplikację w Kubernetesie ?
  • 27. © 2016 SAP SE or an SAP affiliate company. All rights reserved. “Deployment is responsible for creating and updating instances of your application” https://kubernetes.io Deployment?
  • 28. © 2016 SAP SE or an SAP affiliate company. All rights reserved. • Przygotuj obraz konteneru Twojej aplikacji • Określ ile chcesz instancji(kopii) aplikacji • Zapisz porty na których Twoja aplikacja nasłuchuje • Całość włóż do pliku z roszerzeniem yaml lub json • Posyp komendą kubectl create/apply • Gotowe! Przepis na Deployment
  • 29. © 2016 SAP SE or an SAP affiliate company. All rights reserved. kubectl apply –f httpbin.yaml kubectl get deployment Deployment cd.
  • 30. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Pod • Gospodarz kontenerów z aplikacjami • Udostępnia aplikacjom : • wspólną przestrzeń na dane • sieć (unikalne adresy IP) • Posiada informacje o tym jak każdy kontener uruchomić Node • Nadzorca Podów • Fizyczny lub wirtualny • Pojedynczy węzeł może mieć wiele podów Ale czy to wszystko?
  • 31. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Pod Node
  • 32. © 2016 SAP SE or an SAP affiliate company. All rights reserved. kubectl get pod POD_NAME –o yaml
  • 33. © 2016 SAP SE or an SAP affiliate company. All rights reserved. kubectl get node NODE_NAME –o yaml
  • 34. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 35. © 2016 SAP SE or an SAP affiliate company. All rights reserved. • Usługi (Services) • Adres IP w podzie jest unikalny w klastrze ale nie jest widoczny na zewnątrz • Usługa powiązana jest z Podami za pomocą etykiet - “selectorów” * • 4 typy usług (ClusterIP, NodePort, LoadBalancer, ExternalName) Huston, can you hear me ?
  • 36. © 2016 SAP SE or an SAP affiliate company. All rights reserved. • Ingress • Odszyfrowanie ruchu (SSL termination) • Dystrybuowanie ruchu (Load Balancing) • Hostowanie (Virtual name hosting) • Ingress controller Komunikacja z zewnątrz do klastra
  • 37. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Co dalej ? https://kubernetes.io/docs
  • 38. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Demo Piotr Miśkiewicz, SAP
  • 39. © 2016 SAP SE or an SAP affiliate company. All rights reserved. meme quote Przeglądarka HTTP GET HTTP GET quote
  • 40. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Kubernetes meme service quote service meme pod quote podHTTP GET: http://quote/quote
  • 41. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Mateusz Szostok, SAP Dalsze życie naszej aplikacji
  • 42. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Efekt Slashdota
  • 43. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Efekt Slashdota  Digg efekt  Reddit efekt  Twitter efekt  Wykop efekt
  • 44. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Efekt Slashdota
  • 45. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Skalowanie
  • 46. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Typy skalowania Wertykalne Horyzontalne vs.
  • 47. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Czas na demo
  • 48. © 2016 SAP SE or an SAP affiliate company. All rights reserved. funkcjonalności funkcjonalności funkcjonalności funkcjonalności funkcjonalności funkcjonalności funkcjonalności funkcjonalności funkcjonalnościfunkcjonalności funkcjonalności funkcjonalności
  • 49. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Typy skalowania spec: replicas: 4 strategy: type: Recreate spec: replicas: 4 strategy: type: RollingUpdate rollingUpdate: maxSurge: 2 maxUnavailable: 50%
  • 50. © 2016 SAP SE or an SAP affiliate company. All rights reserved.
  • 51.
  • 52. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Kogo szukamy? • Nowoczesne technologie • Zgrany zespół • Elastyczność • Agile • Shadowing • Szkolenia • Cloud Software Engineer (Cloud Native Solutions, Go, NodeJS) • Technical Account Support • iOS Developer • Junior Demo Solutions Developer • Education Sales Support Specialist https://goo.gl/sN3Jyf Aplikuj tutaj
  • 53. © 2016 SAP SE or an SAP affiliate company. All rights reserved. Nadchodzące wydarzenia • Wstęp do programowania w chmurze przy użyciu Kubernetes'a Wykłady - AEiI (14:00 – 15:30, s.428) Warszaty – SAP Hybris (17:00 – 18:30, s. Death Valley) 10.04 19.04 • Tworzenie testowalnej aplikacji, czyli TDD w praktyce 25.04• Bots everywhere 10.05 • Angular – stań się kanciastym 23.0 5 30.0 5 10.05 • Troubleshooting przy pomocy Spring AOP • Ghost in the shell • DevOps - czyli jak przestałem klikać i pokochałem automatyzację https://fb.com/Hack.your.Career Zarejestruj się na wydarzenie
  • 54. © 2016 SAP SE or an SAP affiliate company. All rights reserved.© 2016 SAP SE or an SAP affiliate company. All rights reserved. THANK YOU

Editor's Notes

  1. Płatny Staż – lipiec - wrzesień: D-shop RaspberryPi Arduino Espruino Drukarka 3D Platformy jezdne do RaspberryPI Sprzęt: lutownica, oscyloskop