Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rocket domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/rahi_io/wp-includes/functions.php on line 6114
Understanding Alibaba Cloud Container Service for Kubernetes (ACK) – Rahi
Cloud Services

Understanding Alibaba Cloud Container Service for Kubernetes (ACK)

By Pablo Puig

May 23, 2023 - 7 min

Alibaba Cloud Container Service for Kubernetes ACK

Running containerized applications in the cloud is no longer optional but a requirement. Given the elasticity and efficiency of containers, most large companies have already made the jump. Kubernetes has taken the front-runner position as the leading container solution.

Today’s user base will no longer accept downtime. We, as the builders of the cloud and infrastructure services, need to find a method to perform maintenance and update without interrupting their services Containers provide this isolated environment while securely scaling. In this time of real-time self-healing application services, Kubernetes is the preferred method for packaging, deploying, and updating web apps.

What is Kubernetes?

Kubernetes is a container management system originally developed by Google. Kubernetes helps manage containerized applications in various types of physical, virtual, and cloud environments. Google Kubernetes is a highly flexible and dynamic tool to consistently delivers complex applications running on clusters of hundreds to thousands of individual servers.

Kubernetes is used for items such as automated rollouts and rollbacks due to issues, self-healing capabilities, automated scheduling, loosely coupled microservices ecosystem, horizontal scaling with native load balancing capabilities, enterprise-ready features in Alibaba Cloud, and robust and innovative infrastructure.

Breakdown of need-to-know terminology for Kubernetes

What is a Node?

It is a single host which can run on a physical or virtual machine. A node should run both kube-proxy, minikube, and kubelet which are considered a part of the cluster. A pod is a combination of single or multiple containers that logically run together on nodes

What is a Cluster?

It is a collection of hosts(servers) that helps you to aggregate their available resources. That includes ram, CPU, ram, disk, and their devices into a usable pool.

What is a Master node?

The master is a collection of components that make up the control panel of Kubernetes. These components are used for all cluster decisions. It includes both scheduling and responding to cluster events.

The master node is responsible for the ownership and management of the Kubernetes cluster. It is the entry point for all kinds of administrative tasks. There might be more than one master node in the cluster to check for fault tolerance. The master node has various components like ETCD, Scheduler, API Server, Controller Manager, and more. (The API server acts as an entry point for all the REST commands used for controlling the cluster, as most external applications require an entry point to call API).

What are Worker nodes?

Worker nodes, sometimes called slave nodes, are another essential component that contains all the required services to manage the networking between the containers and communicate with the master node, which allows you to assign resources to the scheduled containers. A Docker container runs on each worker node, running the configured pods that you allocated. Remember, the Kublet gets the config for the pod from the API services, this will ensure the containers are up and running and healthy. Also, note that Kube-proxy will act as a load balancer and network proxy to perform service on a single worker node

What is a Scheduler?

It is responsible for distributing the workload & owns scheduling tasks for the worker nodes. Tracking how the working load is utilized on cluster nodes allows you to place the workload on available resources and accept the workload.

What is a Stateful Set?

It is a specialized pod control that offers ordering and uniqueness. It is mainly used to have fine-grained control, which you have a particular need regarding deployment order, stable networking, and persistent data. Note that Daemon sets are another control that deployed pods to perform maintenance and offer the nodes up services.

What is a Replication Set?

Replication sets are an interaction on the replication controller design with flexibility in how the controller recognizes the pods it is meant to manage. It replaces replication controllers because of their higher replicate selection capability. Also, know that a replication controller is an object which defines a pod template. It also controls parameters to scale identical replicas of Pod horizontally by increasing or decreasing the number of running copies. Also, Deployment is a common workload that can be directly created and managed. Deployment uses a replication set as a building block, adding the life cycle management feature.

What is a Namespace?

It is a logical cluster or environment. It is a widely used method which is used for scoping access or dividing a cluster.

Basic Architectural Layout

Understanding Alibaba Cloud Container Service for Kubernetes (ACK)_1

NOTE: You should also know what Etcd is. etcd components store configuration detail and wright values. It communicates with the most component to receive commands and work. It also manages network rules and port forwarding activity.

Also, Alibaba Cloud has a resource called Node Pools for its container service that responds well to our needs, but they are not well-supported through popular IAC (such as Terraform) and in an ever-changing and ever-scaling environment making calls to API directly or using a UI to modify multiple resources become less convenient the more you begin to scale-up.

Docker vs Kubernetes

In my opinion, the biggest difference between Docker and Kubernetes is that Docker Swarm does not allow auto-scaling while Kubernetes allows auto-scaling. Kubernetes allows you to configure shared storage volumes between multiple containers inside the same pod. Also, you can manually configure your load balancing settings where, in Docker, you cannot. At the same time, Swarms in Docker spin up quickly whereas Kubernetes takes longer yet offers a more sturdy robust solution. Kubernetes has built-in logging and monitoring tools, whereas Dock uses 3rd parties integrations.

Alibaba Cloud Container Service for Kubernetes (ACK)

This cloud-native microservice system architecture service was designed to meet the demand for resources while keeping costs low, businesses need to be able to size up such applications for certain heavy workloads without paying for excess resources during idle hours.

Alibaba Cloud allows you to deploy a containerized application on a Kubernetes cluster and set up auto-scaling to automatically adjust the compute capacity of the cluster in response to workload changes, which we will show in the example below. You can dynamically add compute resources in response to increased workload requirements and automatically instantaneously destroy compute resources to save costs based on utilization thresholds. You can also dynamically provision storage volumes to accommodate data growth. You can even dynamically provision storage volumes to accommodate data growth.

You are even able to combine services for robust globally dispersed solutions using services like ECS bare metal instances with ACK on top of it. Now we will walk through an example of how to deploy Kubernetes in a highly scalable environment quickly and efficiently.

Cluster Management

  • You can create clusters in the console simply using GPU-accelerated instances and ECS Bare Metal instances in a cluster. You can also deploy your cluster across zones to ensure high availability.
  • Provides optimized OS images for Kubernetes containers. Offers Kubernetes versions and Docker versions with high stability and security.
  • Supports multi-cluster management and cluster federation management. You can also deploy your cluster across zones to ensure high availability.
  • You need to manually deploy and develop clusters by yourself.
  • You need to explore and develop Kubernetes by yourself.
  • Application Management

  • Supports canary releases and blue-green releases.
  • Supports application monitoring and auto-scaling.
  • Provides a built-in application store that deploys applications using Helm. Provides an App Catalog to simplify service integration.
  • You need to explore and develop Kubernetes by yourself.
  • Network Management

  • Provides a high-performance network plug-in that is optimized for Alibaba Cloud to assign ENIs to pods. The network performance of a VPC with this plug-in is 20% higher than a regular network solution.
  • Supports access policies and bandwidth throttling for containers.
  • You need to use network plug-ins from the community for adoption.
  • You need to explore and develop Kubernetes by yourself.
  • Storage Management

  • Supports Alibaba Cloud cloud disks, local disks, NAS file systems, CPFS file systems, and OSS buckets. Provides CSI and FlexVolume as volume drivers.
  • Supports dynamic creation and volume migration.
  • You need to explore and develop Kubernetes by yourself.
  • O&M Management

  • Allows you to upgrade Kubernetes versions and automatically add nodes to a Kubernetes cluster.
  • Provides a high-performance log collection agent that can handle 100,000 requests per second.
  • Note that there are 3 different types of ACK clusters. Make sure you understand the differences between Dedicated vs Managed vs Serverless clusters and choose the right one for your business case:

    Understanding Alibaba Cloud Container Service for Kubernetes (ACK)_2

    How Rahi Can Support Businesses Adopt Alibaba Cloud

    We are a global IT solutions provider that has extensive experience helping businesses adopt Alibaba Cloud.
    Our team of experts can provide a range of services to support your adoption of the Alibaba Cloud platform, including:

  • Cloud Assessment and Planning: Our experts can comprehensively assess your IT environment and business requirements to determine the best strategy for adopting Alibaba Cloud.
  • Cloud Migration: Our team can help you migrate your existing applications and data to Alibaba Cloud, ensuring a smooth and efficient transition.
  • Managed Services: We provide ongoing managed services to ensure that your Alibaba Cloud environments are optimized for performance and security and that any issues are quickly resolved.
  • Our team has already helped many Western companies successfully adopt and integrate Alibaba Cloud, and we can also bring that expertise to your business. With our support, you can leverage the power of Alibaba Cloud to drive your digital transformation and grow your business.

    Author

    • Pablo is an IT professional specializing in cloud computing technologies for the past 7 years. With a special focus into the China market and the Chinese technologies, he has been supporting international businesses on their cloud journey to China. Pablo has received multiple awards and recognitions from AWS, Alibaba Cloud, and Tencent Cloud for his knowledge and success delivering solutions to customers.

    , Global Director of Cloud Solutions

    Cloud Services
    Jun 16,2023
    Cross-border Network Acceleration Solutions for China

    For many international businesses with a presence in China, network stability issues are often the biggest concern...

    Cloud Services
    Jun 14,2023
    ARNs and Endpoints in AWS China

    AWS China comprises 2 AWS regions, Beijing and Ningxia, with 6 availability zones in total. Beijing is operated by...

    Cloud Services
    Jun 09,2023
    Multi-Account Strategy in AWS China

    AWS China announced the availability of AWS Organizations in the Beijing and Ningxia regions in 2020. Before we deep...

    Cloud Services
    Jun 07,2023
    Azure Global vs Azure China: Services Comparison

    Microsoft Azure is a cloud computing platform and infrastructure created by Microsoft for building, deploying, and...

    Cloud Services
    Jun 06,2023
    How to deploy an AWS Marketplace AMI in AWS China

    The AWS Marketplace China is an online platform operated by AWS China that covers products in both AWS China regions...

    Cloud Services
    Jun 02,2023
    Azure China: Factors to Consider

    Microsoft Azure is a popular cloud computing platform that offers various services to support organizations in various...

    Cloud Services
    May 31,2023
    AWS Global vs AWS China: Services Comparison

    Amazon Web Services (AWS) is a cloud computing platform that provides a wide range of services for building,...

    Cloud Services
    May 29,2023
    How to Install and Configure Docker on Alibaba Cloud ECS Instance

    Docker is an open-source platform from the Moby Project that helps package applications into containers and automate...

    Cloud Services
    May 26,2023
    How to Create a Microsoft Azure Account in China

    Azure China is independently operated and transacted by 21Vianet. Microsoft Azure services are running in 6 regions in...

    Cloud Services
    May 24,2023
    How to Create an AWS Account in China

    AWS China is independently operated and transacted by two local partners: Sinnet and NWCD. AWS services are running in...

    Cloud Services
    May 19,2023
    Pros and Cons of Azure China

    Microsoft Azure is a cloud computing platform and infrastructure created by Microsoft for building, deploying, and...

    Cloud Services
    May 17,2023
    Pros and Cons of AWS China

    Amazon Web Services (AWS) is a cloud computing platform that offers a wide range of services such as computing,...

    Cloud Services
    May 15,2023
    How to book a Tencent Cloud Certification Exam

    Follow the next steps to book a Tencent Cloud certification exam: 1. Sign up directly on Kryterion through this...

    Cloud Services
    May 12,2023
    Multi-Account Strategy in Alibaba Cloud

    Adopting an Alibaba Cloud multi-account strategy can provide many benefits without a lot of extra effort. Alibaba...

    Cloud Services
    Apr 06,2023
    AWS China Challenges, Risks & Issues

    Amazon Web Services (AWS) is one of the most widely used cloud computing platforms globally. With its extensive range...

    Cloud Services
    Apr 10,2023
    Azure China: Challenges, Risks & Issues

    Microsoft Azure is one of the leading cloud computing platforms in the world, offering businesses and organizations a...

    Cloud Services
    Apr 04,2023
    Azure China: Regions and Availability Zones

    Azure maintains multiple geographies to anticipate disaster recovery and data residency boundaries across its regions....

    Cloud Services
    Mar 31,2023
    AWS China: Regions and Availability Zones

    AWS is the biggest cloud provider worldwide constantly improving its platform and expanding its services globally....

    Cloud Services
    Mar 30,2023
    Tencent Cloud Global Infrastructure

    Tencent Cloud is one of China’s biggest public cloud service providers leveraging its global infrastructure to...

    Cloud Services
    Mar 28,2023
    Alibaba Cloud Global Infrastructure

    Alibaba Cloud was named by IDC as the world’s fastest-growing provider in the global public cloud market. Global...

    Cloud Services
    Mar 24,2023
    Differences between Azure Global and Azure China

    Microsoft Azure China was officially launched in 2014 and was the first international public cloud provider to bring...

    Cloud Services
    Mar 23,2023
    Differences between AWS global and AWS China

    AWS Global and AWS China are two different regions that provide similar but different services to their respective...

    Cloud Services
    Mar 21,2023
    Complete Guide to Tencent Cloud

    People are now technologically so advanced and innovative, new groundbreaking ideas have brought visible changes in...

    Cloud Services
    Mar 20,2023
    Complete Guide to Alibaba Cloud

    Alibaba Cloud, also known as Aliyun, is a Chinese cloud computing company, which was officially launched in 2009....

    Cloud Services
    Mar 16,2023
    Complete Guide to Microsoft Azure China

    Microsoft Azure is a cloud computing service provider for building, testing, deploying, and managing applications and...

    Cloud Services
    Mar 14,2023
    Complete Guide to Amazon Web Services (AWS) China

    Amazon Web Services (AWS) is a cloud-based platform that provides a reliable and cost-effective infrastructure to...

    Cloud Services
    Mar 12,2023
    Managed Cloud Services in China: Advantages and Opportunities

    Managed Cloud Services in China: Advantages and Opportunities As the Global Director of Cloud Solutions, I have seen...

    Cloud Services
    Mar 10,2023
    Managing Cloud Operations in China

    Managing Cloud Operations in China: Centralization or Localization? A Cloud Center of Excellence (CCOE) is a team that...

    Cloud Services
    Mar 03,2023
    Hybrid Cloud in China

    Hybrid cloud is a combination of public and private cloud services that are used together to provide the best possible...

    Cloud Services
    Mar 02,2023
    Cloud Migration in China: A Comprehensive Guide

    The use of Cloud Computing is rapidly growing in China, with more and more companies shifting their operations to the...

    Cloud Services
    Feb 17,2023
    Supporting European Companies on their Cloud Journey to China

    Supporting European Companies on Their Cloud Journey to China The cloud computing market in China is growing rapidly,...

    Cloud Services
    Feb 15,2023
    Supporting US Companies on Their Cloud Journey to China

    The cloud computing market in China has been growing rapidly, with an estimated growth rate of over 20% annually. As a...

    Cloud Services
    Feb 10,2023
    Cloud Hosting in China: A Comprehensive Guide

    Cloud hosting has been a transformative technology for businesses around the world. It has allowed companies of all...

    Cloud Services
    Feb 10,2023
    Get Your Cloud Accounts in China

    Getting a cloud account globally takes minutes, in China it can take up to months. It is not straight-forward and not...

    Cloud Services
    Feb 03,2023
    Adoption of Public Cloud in China

    Public Cloud Adoption in China Cloud strategy is defined as a business plan to adopt cloud technologies into the...

    Cloud Services
    Jan 31,2023
    Cloud Services Providers in China

      Cloud Services Providers in China When entering the Chinese cloud market, one of the first decisions is to...

    Cloud Services
    Jan 27,2023
    China’s Cloud Computing Market

    Cloud Computing in China China has done tremendous development and has succeeded to digitize its business system with...

    Get in touch with our experts for a free 30-minute strategy
    consultation

    Let our experts design, develop, deploy and manage your requirements while you focus on what's important for your business

    Book a Consultation
    error: Content is protected !!