2. What is Kubernetes?
Kubernetes is a portable, extensible open-source platform for managing
containerized workloads and services, that facilitates both declarative
configuration and automation
3. Why do I need Kubernetes
• a container platform
• a microservices platform
• a portable cloud platform
• Kubernetes provides a container-centric management environment.
It orchestrates computing, networking, and storage infrastructure on
behalf of user workloads. This provides much of the simplicity of
Platform as a Service (PaaS) with the flexibility of Infrastructure as a
Service (IaaS), and enables portability across infrastructure providers.
4. What Kubernetes is not
• Does not limit the types of applications supported.
• Does not deploy source code and does not build your application.
• Does not provide application-level services, such as middleware (e.g.,
message buses), data-processing frameworks (for example, Spark),
databases (e.g., mysql), caches, nor cluster storage systems (e.g., Ceph) as
built-in services.
• Does not dictate logging, monitoring, or alerting solutions. It provides
some integrations as proof of concept, and mechanisms to collect and
export metrics.
• Does not provide nor mandate a configuration language/system
(e.g., jsonnet).
• Does not provide nor adopt any comprehensive machine configuration,
maintenance, management, or self-healing systems.
• Additionally, Kubernetes is not a mere orchestration system.
5. • it eliminates the need for orchestration. The technical definition
of orchestration is execution of a defined workflow: first do A, then B,
then C. In contrast, Kubernetes is comprised of a set of independent,
composable control processes that continuously drive the current
state towards the provided desired state. It shouldn’t matter how you
get from A to C. Centralized control is also not required. This results in
a system that is easier to use and more powerful, robust, resilient,
and extensible.
•
18. Create Kubernetes Cluster
(add --state s3://clusters.k8s.ltts.vpc if required following commands
as additional param, some times VM will not take Env Args)
• kops create cluster --cloud=aws --zones=us-east-2b --
name=useast2.k8s.ltts.vpc --dns-zone=k8s.ltts.vpc --dns private
Update If you want to change Instance Settings
• kops edit ig --name=useast2.k8s.ltts.vpc nodes
• kops edit ig --name=useast2.k8s.ltts.vpc master-us-east-2b
• update cluster useast2.k8s.ltts.vpc --yes