9 ways to consume kubernetes on open stack in 15 mins (k8s meetup)Stacy Véronneau
Like that title states, this is a quick slide deck to help people consume OpenStack resources from Kubernetes. It covers elements running on a laptop to consuming a full production cloud.
Amazon Elastic Kubernetes Service (EKS)는 표준 Kubernetes 환경에서 실행되는 어플리케이션과 완벽히 호환됩니다. AWS상에서 Kubernetes 클러스터를 생성하고, 컨테이너 어플리케이션을 배포, 관리, 확장 및 로깅, 모니터링에 대한 실습과 함께, 최근 릴리즈된 AWS IAM 권한을 Pod에 할당하는 방법 등을 Amazon EKS에서 구현하는 과정을 진행합니다.
Tips on solving E_TOO_MANY_THINGS_TO_LEARN with KubernetesBen Hall
Presented at Skills Matter, 8th February 2017.
Discusses the Kubernetes community and tools such as Minikube, Kubeadm, Helm and Weave Flux. Demos driven by katacoda.com
A talk I gave at the recent Advanced AWS Meeup - this is a detailed guide to how I installed and set up Spinnaker to work with our infrastructure at Stitch Fix. I go over the various problems I ran into and how I solved them. I hope this can be useful for others setting up, or interested in setting up Spinnaker for their purposes.
**Big thanks to Armory for recording the talks! Video for this talk can be found here: https://youtu.be/ywzPblFpIE0 (I'm the second speaker)**
9 ways to consume kubernetes on open stack in 15 mins (k8s meetup)Stacy Véronneau
Like that title states, this is a quick slide deck to help people consume OpenStack resources from Kubernetes. It covers elements running on a laptop to consuming a full production cloud.
Amazon Elastic Kubernetes Service (EKS)는 표준 Kubernetes 환경에서 실행되는 어플리케이션과 완벽히 호환됩니다. AWS상에서 Kubernetes 클러스터를 생성하고, 컨테이너 어플리케이션을 배포, 관리, 확장 및 로깅, 모니터링에 대한 실습과 함께, 최근 릴리즈된 AWS IAM 권한을 Pod에 할당하는 방법 등을 Amazon EKS에서 구현하는 과정을 진행합니다.
Tips on solving E_TOO_MANY_THINGS_TO_LEARN with KubernetesBen Hall
Presented at Skills Matter, 8th February 2017.
Discusses the Kubernetes community and tools such as Minikube, Kubeadm, Helm and Weave Flux. Demos driven by katacoda.com
A talk I gave at the recent Advanced AWS Meeup - this is a detailed guide to how I installed and set up Spinnaker to work with our infrastructure at Stitch Fix. I go over the various problems I ran into and how I solved them. I hope this can be useful for others setting up, or interested in setting up Spinnaker for their purposes.
**Big thanks to Armory for recording the talks! Video for this talk can be found here: https://youtu.be/ywzPblFpIE0 (I'm the second speaker)**
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014Amazon Web Services
If you have tried Docker but are unsure about how to run it at scale, you will benefit from this session. Like virtualization before, containerization (à; la Docker) is increasing the elastic nature of cloud infrastructure by an order of magnitude. But maybe you still have questions: How many containers can you run on a given Amazon EC2 instance type? Which metric should you look at to measure contention? How do you manage fleets of containers at scale?
Datadog is a monitoring service for IT, operations, and development teams who write and run applications at scale. In this session, the cofounder of Datadog presents the challenges and benefits of running containers at scale and how to use quantitative performance patterns to monitor your infrastructure at this magnitude and complexity. Sponsored by Datadog.
Adopting Java for the Serverless world at JUG HamburgVadym Kazulkin
Java is for many years one of the most popular programming languages, but it used to have hard times in the Serverless Community. Java is known for its high cold start times and high memory footprint. For both you have to pay to the cloud providers of your choice. That's why most developers tried to avoid using Java for such use cases. But the times change: Community and cloud providers improve things steadily for Java developers. In this talk we look at the features and possibilities AWS cloud provider offers for the Java developers and look the most popular Java frameworks, like Micronaut, Quarkus and Spring (Boot) and look how (AOT compiler and GraalVM native images play a huge role) they address Serverless challenges and enable Java for broad usage in the Serverless world.
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer ToolsAmazon Web Services
Today’s cutting-edge companies have software release cycles measured in days instead of months. This agility is enabled by the DevOps practice of continuous delivery, which automates building, testing, and deploying all code changes. This automation helps you catch bugs sooner and accelerates developer productivity. In this session, we’ll share the processes that Amazon’s engineers use to practice DevOps and discuss how you can bring these processes to your company by using a new set of AWS tools (AWS CodePipeline and AWS CodeDeploy). These services were inspired by Amazon's own internal developer tools and DevOps culture.
PuppetConf 2016: Scaling Puppet on AWS ECS with Terraform and Docker – Maxime...Puppet
Here are the slides from Maxime Visonneau's PuppetConf 2016 presentation called Scaling Puppet on AWS ECS with Terraform and Docker. Watch the videos at https://www.youtube.com/playlist?list=PLV86BgbREluVjwwt-9UL8u2Uy8xnzpIqa
Alfonso Acosta, a Software Engineer at Weave.Works will talk about an introduction to networking in the Docker Container Ecosystem. Comparing the options and taking a look at the new Docker Network Plugin. Alfonso will demonstrate how these functions enable microservice architectures.
Event: https://www.meetup.com/London-Containers-Meetup/events/226231414/
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECSWeaveworks
Alfonso described how Weave open source projects (Weave Net and Weave Scope) can help with networking, visualization, and control for ECS. Specifically, Weave acts as a key communicator for networking containers with its multi-host overlay and additional features (including automatic DNS service discovery and multicast).
Performance Testing using Real Browsers with JMeter & WebdriverBlazeMeter
Learn how to easily run performance tests with real browsers using Selenium WebDriver.
Ophir Prusak, BlazeMeter’s Chief Evangelist, gives step-by-step instructions on doing this using BlazeMeter and/or JMeter.
Learn how to:
- Correlate actual browser-based user experience with the load tests
- Run multiple Selenium Webdriver tests in parallel at scale by using the power of the cloud
- Do it all without any prior JMeter knowledge or experience!
PHP deploy 2015 flavor - talk from php tour 2015 luxembourgQuentin Adam
Lorsque j'ai commencé à déployer du PHP, aux alentours de 2002, la mise en place de cache d'opcode, de reverse proxy pour assets statiques et de déploiement atomiques était encore rare et peu documentée. Le monde a évolué, PHP a beaucoup évolué et c'est l'occasion de faire le point sur les bonnes pratiques de déploiement PHP (en particulier sur une architecture cloud): - déploiement immutables - séparation code / données - cache opcode - séparation serveur HTTP / VM PHP - gestion des sessions - gestion des assets Le but de la présentation est de présenter (et de justifier, en les contextualisant) ces bonnes pratiques.
Building a Production Grade PostgreSQL Cloud Foundry Service | anyninesanynines GmbH
Slides to the talk held at the Cloud Foundry Summit in Santa Clara 2016 about building a on-demand provisioning PostgreSQL Cloud Foundry Services being able to deploy dedicated PostgreSQL servers and 3-node-async-replicating clusters using Bosh.
The slides cover important design decisions such as single PostgreSQL server vs. PostgreSQL clusters, shared vs. dedicated PostgreSQL servers, pre-provisioning vs. on-demand provisioning of vms, the right choice of the automation technology as well as a draft of a resulting architecture.
MicroServices at Netflix - challenges of scaleSudhir Tonse
MicroServices has caught on as the design pattern of choice for many companies at scale. While MicroServices and SOA in general have many positives compared to Monolithic apps, it does come with its own challenges - especially when running at scale. These slides were for a 15 min Meetup talk hosted at Cisco
Kubernetes is extremely powerful, and that configurability leads to complexity. Here are the practical considerations that one must be aware of when dealing with Kubernetes as the deployment target.
These slides go through Setup & maintenance, Application developer experience, Monitoring, Cost, and Setup evolution from a startup perspective.
Spustenie Kubernetes v produkcii môže byť náročná úloha. Radi by sme sa s Vami podelili o naše skúsenosti s produkčným nasadením Kubernetes. Ide o návrh, architektúru vysoko dostupného clustra bežiaceho na AWS. Vhodné pre ľudí, ktorí majú záujem dozvedieť sa o kubernetese, containeroch, deploymente.
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014Amazon Web Services
If you have tried Docker but are unsure about how to run it at scale, you will benefit from this session. Like virtualization before, containerization (à; la Docker) is increasing the elastic nature of cloud infrastructure by an order of magnitude. But maybe you still have questions: How many containers can you run on a given Amazon EC2 instance type? Which metric should you look at to measure contention? How do you manage fleets of containers at scale?
Datadog is a monitoring service for IT, operations, and development teams who write and run applications at scale. In this session, the cofounder of Datadog presents the challenges and benefits of running containers at scale and how to use quantitative performance patterns to monitor your infrastructure at this magnitude and complexity. Sponsored by Datadog.
Adopting Java for the Serverless world at JUG HamburgVadym Kazulkin
Java is for many years one of the most popular programming languages, but it used to have hard times in the Serverless Community. Java is known for its high cold start times and high memory footprint. For both you have to pay to the cloud providers of your choice. That's why most developers tried to avoid using Java for such use cases. But the times change: Community and cloud providers improve things steadily for Java developers. In this talk we look at the features and possibilities AWS cloud provider offers for the Java developers and look the most popular Java frameworks, like Micronaut, Quarkus and Spring (Boot) and look how (AOT compiler and GraalVM native images play a huge role) they address Serverless challenges and enable Java for broad usage in the Serverless world.
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer ToolsAmazon Web Services
Today’s cutting-edge companies have software release cycles measured in days instead of months. This agility is enabled by the DevOps practice of continuous delivery, which automates building, testing, and deploying all code changes. This automation helps you catch bugs sooner and accelerates developer productivity. In this session, we’ll share the processes that Amazon’s engineers use to practice DevOps and discuss how you can bring these processes to your company by using a new set of AWS tools (AWS CodePipeline and AWS CodeDeploy). These services were inspired by Amazon's own internal developer tools and DevOps culture.
PuppetConf 2016: Scaling Puppet on AWS ECS with Terraform and Docker – Maxime...Puppet
Here are the slides from Maxime Visonneau's PuppetConf 2016 presentation called Scaling Puppet on AWS ECS with Terraform and Docker. Watch the videos at https://www.youtube.com/playlist?list=PLV86BgbREluVjwwt-9UL8u2Uy8xnzpIqa
Alfonso Acosta, a Software Engineer at Weave.Works will talk about an introduction to networking in the Docker Container Ecosystem. Comparing the options and taking a look at the new Docker Network Plugin. Alfonso will demonstrate how these functions enable microservice architectures.
Event: https://www.meetup.com/London-Containers-Meetup/events/226231414/
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECSWeaveworks
Alfonso described how Weave open source projects (Weave Net and Weave Scope) can help with networking, visualization, and control for ECS. Specifically, Weave acts as a key communicator for networking containers with its multi-host overlay and additional features (including automatic DNS service discovery and multicast).
Performance Testing using Real Browsers with JMeter & WebdriverBlazeMeter
Learn how to easily run performance tests with real browsers using Selenium WebDriver.
Ophir Prusak, BlazeMeter’s Chief Evangelist, gives step-by-step instructions on doing this using BlazeMeter and/or JMeter.
Learn how to:
- Correlate actual browser-based user experience with the load tests
- Run multiple Selenium Webdriver tests in parallel at scale by using the power of the cloud
- Do it all without any prior JMeter knowledge or experience!
PHP deploy 2015 flavor - talk from php tour 2015 luxembourgQuentin Adam
Lorsque j'ai commencé à déployer du PHP, aux alentours de 2002, la mise en place de cache d'opcode, de reverse proxy pour assets statiques et de déploiement atomiques était encore rare et peu documentée. Le monde a évolué, PHP a beaucoup évolué et c'est l'occasion de faire le point sur les bonnes pratiques de déploiement PHP (en particulier sur une architecture cloud): - déploiement immutables - séparation code / données - cache opcode - séparation serveur HTTP / VM PHP - gestion des sessions - gestion des assets Le but de la présentation est de présenter (et de justifier, en les contextualisant) ces bonnes pratiques.
Building a Production Grade PostgreSQL Cloud Foundry Service | anyninesanynines GmbH
Slides to the talk held at the Cloud Foundry Summit in Santa Clara 2016 about building a on-demand provisioning PostgreSQL Cloud Foundry Services being able to deploy dedicated PostgreSQL servers and 3-node-async-replicating clusters using Bosh.
The slides cover important design decisions such as single PostgreSQL server vs. PostgreSQL clusters, shared vs. dedicated PostgreSQL servers, pre-provisioning vs. on-demand provisioning of vms, the right choice of the automation technology as well as a draft of a resulting architecture.
MicroServices at Netflix - challenges of scaleSudhir Tonse
MicroServices has caught on as the design pattern of choice for many companies at scale. While MicroServices and SOA in general have many positives compared to Monolithic apps, it does come with its own challenges - especially when running at scale. These slides were for a 15 min Meetup talk hosted at Cisco
Kubernetes is extremely powerful, and that configurability leads to complexity. Here are the practical considerations that one must be aware of when dealing with Kubernetes as the deployment target.
These slides go through Setup & maintenance, Application developer experience, Monitoring, Cost, and Setup evolution from a startup perspective.
Spustenie Kubernetes v produkcii môže byť náročná úloha. Radi by sme sa s Vami podelili o naše skúsenosti s produkčným nasadením Kubernetes. Ide o návrh, architektúru vysoko dostupného clustra bežiaceho na AWS. Vhodné pre ľudí, ktorí majú záujem dozvedieť sa o kubernetese, containeroch, deploymente.
AWS Interview Questions and Answers_2023.pdfnishajeni1
Here is the list of AWS Interview Questions which are recently asked in Amazon company. These questions are included for both Freshers and Experienced professionals.
AWS Webcast - Best Practices in Architecting for the CloudAmazon Web Services
Join us to get a better understanding around architecting scalable, reliable applications for the cloud. You'll learn about monitoring, alarming, automatic scaling, load balancing, replication, and more, direct from AWS Senior Evangelist Jeff Barr.
Max Körbächer - AWS EKS and beyond master your Kubernetes deployment on AWS -...Codemotion
Kubernetes (K8s) is on everyone’s lips, but it is easy to experience pitfalls during the development of a K8s cluster. In this talk we will give you an introduction of AWS EKS (Elastic Container Service for Kubernetes), the managed service for deploying and operate Kubernetes on AWS resources, and how you can reach a production readiness. This seamless integration of K8s into the AWS environment allows you a rapid application development assuming architectural concepts of microservice and serverless architecture.
Max Körbächer - AWS EKS and beyond – master your Kubernetes deployment on AWS...Codemotion
Kubernetes (K8s) is on everyone’s lips, but it is easy to experience pitfalls during the development of a K8s cluster. In this talk we will give you an introduction of AWS EKS (Elastic Container Service for Kubernetes), the managed service for deploying and operate Kubernetes on AWS resources, and how you can reach a production readiness. This seamless integration of K8s into the AWS environment allows you a rapid application development assuming architectural concepts of microservice and serverless architecture.
Similar to Staying out of_trouble_with_k8s_on_aws (20)
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesSanjeev Rampal
Talk presented at Kubernetes Community Day, New York, May 2024.
Technical summary of Multi-Cluster Kubernetes Networking architectures with focus on 4 key topics.
1) Key patterns for Multi-cluster architectures
2) Architectural comparison of several OSS/ CNCF projects to address these patterns
3) Evolution trends for the APIs of these projects
4) Some design recommendations & guidelines for adopting/ deploying these solutions.
This 7-second Brain Wave Ritual Attracts Money To You.!nirahealhty
Discover the power of a simple 7-second brain wave ritual that can attract wealth and abundance into your life. By tapping into specific brain frequencies, this technique helps you manifest financial success effortlessly. Ready to transform your financial future? Try this powerful ritual and start attracting money today!
ER(Entity Relationship) Diagram for online shopping - TAEHimani415946
https://bit.ly/3KACoyV
The ER diagram for the project is the foundation for the building of the database of the project. The properties, datatypes, and attributes are defined by the ER diagram.
1.Wireless Communication System_Wireless communication is a broad term that i...JeyaPerumal1
Wireless communication involves the transmission of information over a distance without the help of wires, cables or any other forms of electrical conductors.
Wireless communication is a broad term that incorporates all procedures and forms of connecting and communicating between two or more devices using a wireless signal through wireless communication technologies and devices.
Features of Wireless Communication
The evolution of wireless technology has brought many advancements with its effective features.
The transmitted distance can be anywhere between a few meters (for example, a television's remote control) and thousands of kilometers (for example, radio communication).
Wireless communication can be used for cellular telephony, wireless access to the internet, wireless home networking, and so on.
1.Wireless Communication System_Wireless communication is a broad term that i...
Staying out of_trouble_with_k8s_on_aws
1. Staying out of trouble with
K8S on AWS
Adam Hamsik
DevOps/Cloud Engineer
2. www.pixelfederation.com
1. Know your Enemy, Deep knowledge of
a. AWS
b. Kubernetes
i. Choose your CNI wisely
ii. Be aware of scheduler
c. Applications
2. Trust Your tools
a. Monitoring
b. ELK
c. Deployment tools
Staying out of trouble with K8S on AWS
TL;DR Summary
3. www.pixelfederation.com
1. Standard AWS HA procedures
2. Cluster Autoscaler
3. EBS volumes
a. EBS Volumes don’t work cross AZ
b. Kubernetes sometimes can’t find a place for a pod if all instances in a given
AZ are full
4. Choose the right Instance type for your application
Staying out of trouble with K8S on AWS
AWS Gotchas
5. www.pixelfederation.com
Staying out of trouble with K8S on AWS
K8s on AWS
Cluster Autoscaler
1. CA doesn’t understand AZ when auto scaling your cluster
a. Sometimes POD needs to run only in particular ZONE but CA will start new
node in another.
2. Use PodDistributionBudget to make sure that you have required number of pods running
3. Use podAntiAffinity to spread your replicas in multiple AZs, Nodes
4. CA vs AWS ASG rebalance policy can get cluster into a failure loop
6. www.pixelfederation.com
Staying out of trouble with K8S on AWS
Real Life example
Cluster Autoscaler
1. Create application deployment with multiple replicas and EBS volumes as
update strategy use RollingUpdate
2. Change version and run upgrade
3. During upgrade CA will have to scale your cluster up based on MaxSurge
RollingUpdate parameter
4. There is 1 in 3 probability that new node will not be in a same AZ as original
one.
5. Upgrade can’t move forward and it’s blocked
8. www.pixelfederation.com
Staying out of trouble with K8S on AWS
K8s Node troubles
1. K8s scheduler wants to utilize your node as much as possible
a. It will schedule more pods on it than it’s physical resources can manage
2. Use kubelet limits to make sure pods are evicted from a node when it’s
utilized too much
3. Node problem detector is a daemon running as daemonset on each node
and checking if node is in correct state
a. Infrastructure daemon issues: ntp service down
b. Hardware issues: Bad cpu, memory or disk
c. Kernel issues: Kernel deadlock, corrupted file system
d. Container runtime issues: Unresponsive runtime daemon
9. www.pixelfederation.com
Staying out of trouble with K8S on AWS
Real Life example
K8s Node troubles
1. Creating multiple Deployments on our cluster with containers not using
resource limits
2. Because without limits kubernetes scheduler has no idea about resources
every pod will need. It will run all pods on one node.
3. As resource usage of pods grows NODE will run out of HW resources
4. Kernel OOM killer will kill different systems services and NODE will become
unresponsive
10. www.pixelfederation.com
Staying out of trouble with K8S on AWS
Node Size VS POD Size
K8s Node troubles
Not everything has to run in Kubernetes. Some things are better managed
in VMs.
If your application POD are almost as big as servers where you run them
it’s better to use VMs.
You have to plan your InstanceGroups Accordingly no need to have beefy
servers for small pods
11. www.pixelfederation.com
Staying out of trouble with K8S on AWS
K8s POD troubles
It essential to understand your workload and how does your application
behave in traffic.
1. POD resource limits and requests
a. Some applications need more ram/cpu during startup and later can work
with less plan accordingly.
b. Provide necessary info to K8s scheduler. Without this information scheduler
will work on best effort basis.
2. If your application goes over limit it will be killed by kernel and POD will be
restarted.
3. Set limits/requests relatively close together to make sure POD is not prime
suspect to free resources.
12. www.pixelfederation.com
Staying out of trouble with K8S on AWS
K8s POD troubles examples
1. Deployed application needs more ram during startup (logstash, ES)
2. During start application will exhaust it’s resource limits
3. Kernel OOM Killer will kill Logstash because it ran out of memory inside
it’s cgroup
4. Kubelet will restart application POD
13. www.pixelfederation.com
Staying out of trouble with K8S on AWS
K8s POD QoS
When Kubernetes creates a Pod it assigns one of these QoS classes
1. Guaranteed
a. Every Container in the Pod must have a memory/cpu limit and a memory/cpu
request, and they must be the same.
2. Burstable
a. The Pod does not meet the criteria for QoS class Guaranteed
3. BestEffort
a. For a Pod to be given a QoS class of BestEffort, the Containers in the Pod must not
have any memory or CPU limits or requests.
14. www.pixelfederation.com
Staying out of trouble with K8S on AWS
K8s Application troubleshooting
1. If your application is down start from as close as possible to a POD and
build from there.
a. Is your application healthy ? Do you have many restart on application POD ?
2. Can you access your application on a POD does it work ?
a. kubectl port-forward pod/pod-name local_port:remote_port
3. Can you access your application with a service ?
a. Kubectl port-forward
4. If everything above works and your ingress still doesn’t work check ingress
manifest.
15. www.pixelfederation.com
Staying out of trouble with K8S on AWS
When it something goes wrong
Kubernetes is a distributed application with many moving parts. Be
aware that any troubleshooting si a complicated process
1. Have your monitoring ready
a. Prometheus + Grafana works great
b. Prometheus can dynamically detect new services/pods and based on their
annotations scrape them for metrics.
2. Gather kubernetes events and logs
a. EFK
i. Gather Kubernetes logs from nodes/masters and push them to own elasticsearch
cluster
b. Gather Kubernetes events and store them in elasticsearch cluster
i. https://github.com/haad/event-exporter