এই টিউটোরিয়ালটি আপনাকে দেখায় কিভাবে একটি ডকার কন্টেইনার ইমেজে একটি ওয়েব অ্যাপ্লিকেশন প্যাকেজ করতে হয় এবং সেই কন্টেইনার ইমেজটিকে Google Kubernetes Engine (GKE) ক্লাস্টারে চালাতে হয়। তারপরে, আপনি ওয়েব অ্যাপ্লিকেশনটিকে একটি লোড-ভারসাম্যযুক্ত প্রতিলিপিগুলির সেট হিসাবে স্থাপন করেন যা আপনার ব্যবহারকারীদের প্রয়োজনে স্কেল করতে পারে ## উদ্দেশ্য - একটি ডকার ইমেজে একটি নমুনা ওয়েব অ্যাপ্লিকেশন প্যাকেজ করুন - আর্টিফ্যাক্ট রেজিস্ট্রিতে ডকার ইমেজ আপলোড করুন - একটি GKE ক্লাস্টার তৈরি করুন - ক্লাস্টারে নমুনা অ্যাপ স্থাপন করুন - স্থাপনার জন্য অটোস্কেলিং পরিচালনা করুন - ইন্টারনেটে নমুনা অ্যাপটি প্রকাশ করুন - নমুনা অ্যাপের একটি নতুন সংস্করণ স্থাপন করুন ## খরচ এই টিউটোরিয়ালটি Google ক্লাউডের নিম্নলিখিত বিলযোগ্য উপাদানগুলি ব্যবহার করে: আপনার অভিক্ষিপ্ত ব্যবহারের উপর ভিত্তি করে একটি খরচ অনুমান তৈরি করতে, মূল্য ক্যালকুলেটর ব্যবহার করুন আপনি এই টিউটোরিয়ালটি শেষ করার পরে, আপনি আপনার তৈরি সংস্থানগুলি মুছে দিয়ে অবিরত বিলিং এড়াতে পারেন। আরও তথ্যের জন্য, ক্লিন আপ দেখুন ## আপনি শুরু করার আগে Kubernetes Engine API সক্ষম করতে নিম্নলিখিত পদক্ষেপগুলি গ্রহণ করুন: - আপনার Google ক্লাউড অ্যাকাউন্টে সাইন ইন করুন। আপনি যদি Google ক্লাউডে নতুন হয়ে থাকেন, তাহলে বাস্তব-বিশ্বের পরিস্থিতিতে আমাদের পণ্যগুলি কীভাবে কার্য সম্পাদন করে তা মূল্যায়ন করতে একটি অ্যাকাউন্ট তৈরি করুন৷ নতুন গ্রাহকরাও কাজের চাপ চালানো, পরীক্ষা এবং স্থাপন করার জন্য বিনামূল্যে $300 ক্রেডিট পান - Google ক্লাউড কনসোলে, প্রকল্প নির্বাচক পৃষ্ঠায়, একটি Google ক্লাউড প্রকল্প নির্বাচন করুন বা তৈরি করুন৷ - নিশ্চিত করুন যে আপনার ক্লাউড প্রকল্পের জন্য বিলিং সক্ষম করা আছে৷ একটি প্রকল্পে বিলিং সক্ষম কিনা তা পরীক্ষা করতে শিখুন - আর্টিফ্যাক্ট রেজিস্ট্রি এবং Google কুবারনেটস ইঞ্জিন এপিআই সক্ষম করুন৷ - Google ক্লাউড কনসোলে, প্রকল্প নির্বাচক পৃষ্ঠায়, একটি Google ক্লাউড প্রকল্প নির্বাচন করুন বা তৈরি করুন৷ - নিশ্চিত করুন যে আপনার ক্লাউড প্রকল্পের জন্য বিলিং সক্ষম করা আছে৷ একটি প্রকল্পে বিলিং সক্ষম কিনা তা পরীক্ষা করতে শিখুন - আর্টিফ্যাক্ট রেজিস্ট্রি এবং Google কুবারনেটস ইঞ্জিন এপিআই সক্ষম করুন৷ বিকল্প A: ক্লাউড শেল ব্যবহার করুন আপনি ক্লাউড শেল ব্যবহার করে এই টিউটোরিয়ালটি অনুসরণ করতে পারেন, যা আসে এর সাথে পূর্বে ইনস্টল করা জিক্লাউড, ডকার, এবং kubectl কমান্ড লাইন টুল ব্যবহার করা হয় এই টিউটোরিয়ালে। আপনি যদি ক্লাউড শেল ব্যবহার করেন তবে আপনাকে এগুলি ইনস্টল করার দরকার নেই আপনার ওয়ার্কস্টেশনে কমান্ড-লাইন সরঞ্জাম ক্লাউড শেল ব্যবহার করতে: - গুগল ক্লাউড কনসোলে যান ক্লিক করুন ক্লাউড শেল সক্রিয় করুন Google ক্লাউড কনসোল উইন্ডোর শীর্ষে বোতাম একটি ক্লাউড শেল সেশন Google ক্লাউড কনসোলের নীচে একটি নতুন ফ্রেমের ভিতরে খোলে এবং একটি কমান্ড-লাইন প্রম্পট প্রদর্শন করে বিকল্প B: স্থানীয়ভাবে কমান্ড-লাইন টুল ব্যবহার করুন আপনি যদি আপনার ওয়ার্কস্টেশনে এই টিউটোরিয়ালটি অনুসরণ করতে পছন্দ করেন তবে প্রয়োজনীয় সরঞ্জামগুলি ইনস্টল করতে এই পদক্ষেপগুলি অনুসরণ করুন Google Cloud CLI ইনস্টল করুন gcloud CLI ব্যবহার করে, Kubernetes কমান্ড-লাইন টুল ইনস্টল করুন kubectlis কুবারনেটসের সাথে যোগাযোগ করতে ব্যবহৃত হয়, যা GKE ক্লাস্টারগুলির ক্লাস্টার অর্কেস্ট্রেশন সিস্টেম: gcloud উপাদানগুলি kubectl ইনস্টল করে আপনার ওয়ার্কস্টেশনে ডকার কমিউনিটি সংস্করণ (সিই) ইনস্টল করুন। আপনি অ্যাপ্লিকেশনটির জন্য একটি ধারক চিত্র তৈরি করতে এটি ব্যবহার করেন GitHub থেকে নমুনা অ্যাপ্লিকেশন আনতে গিট সোর্স কন্ট্রোল টুল ইনস্টল করুন ## একটি সংগ্রহস্থল তৈরি করুন এই টিউটোরিয়ালে, আপনি আর্টিফ্যাক্ট রেজিস্ট্রিতে একটি চিত্র সংরক্ষণ করুন এবং এটি স্থাপন করুন রেজিস্ট্রি থেকে। আর্টিফ্যাক্ট রেজিস্ট্রি হল প্রস্তাবিত কন্টেইনার রেজিস্ট্রি গুগল ক্লাউড। এই কুইকস্টার্টের জন্য, আপনি নামের একটি সংগ্রহস্থল তৈরি করবেন হ্যালো-রেপো স্থির কর আপনার Google ক্লাউড প্রকল্প আইডিতে PROJECT_ID পরিবেশ পরিবর্তনশীল ( ) আপনি যখন কন্টেইনার ইমেজ তৈরি করবেন এবং এটি আপনার সংগ্রহস্থলে পুশ করবেন তখন আপনি এই পরিবেশ পরিবর্তনশীলটি ব্যবহার করবেন PROJECT_ID এক্সপোর্ট PROJECT_ID= PROJECT_ID নিশ্চিত করুন যে PROJECT_IDenvironment ভেরিয়েবলের সঠিক মান আছে: প্রতিধ্বনি $PROJECT_ID Google Cloud CLI-এর জন্য আপনার প্রকল্প আইডি সেট করুন: gcloud config সেট প্রকল্প $PROJECT_ID আউটপুট: আপডেট করা সম্পত্তি [কোর/প্রকল্প] তৈরি করুন নিম্নলিখিত কমান্ড সহ hello-reporepository: gcloud আর্টিফ্যাক্ট রিপোজিটরি হ্যালো-রেপো তৈরি করে \ --repository-format=docker \ --location= অঞ্চল\ --description="ডকার সংগ্রহস্থল"প্রতিস্থাপন করুন ভান্ডারের জন্য একটি অঞ্চলের সাথে, যেমন অঞ্চল us-west1. উপলব্ধ অবস্থানগুলির একটি তালিকা দেখতে, কমান্ডটি চালান: জিক্লাউড আর্টিফ্যাক্ট অবস্থানের তালিকা ## কন্টেইনার ইমেজ তৈরি করা এই টিউটোরিয়ালে, আপনি একটি নমুনা ওয়েব স্থাপন করবেন আবেদন কল হ্যালো-অ্যাপ, একটি ওয়েব সার্ভার লেখা Go-তে যা বার্তা সহ সমস্ত অনুরোধের প্রতিক্রিয়া জানায় ওহে বিশ্ব! পোর্ট 8080 এ GKE ডকার ছবিগুলিকে অ্যাপ্লিকেশন স্থাপনার বিন্যাস হিসাবে গ্রহণ করে মোতায়েন করার আগে GKE-এ হ্যালো-অ্যাপ, আপনাকে অবশ্যই প্যাকেজ করতে হবে দ্য ডকার ইমেজ হিসাবে হ্যালো-অ্যাপ সোর্স কোড একটি ডকার ইমেজ তৈরি করতে, আপনার সোর্স কোড এবং একটি ডকারফাইল প্রয়োজন। একটি ডকারফাইলে চিত্রটি কীভাবে তৈরি করা হয় তার নির্দেশাবলী রয়েছে ডাউনলোড করুন নিম্নলিখিত কমান্ডগুলি চালিয়ে হ্যালো-অ্যাপসোর্স কোড এবং ডকারফাইল: git ক্লোন httpsgithub.com/GoogleCloudPlatform/kubernetes-engine-samples cd kubernetes-engine-samples/hello-app এর জন্য ডকার ইমেজ তৈরি করুন এবং ট্যাগ করুন হ্যালো-অ্যাপ: ডকার বিল্ড -টি REGION-docker.pkg.devPROJECT_ID}/hello-repo/hello-app:v1 এই কমান্ডটি ব্যবহার করে ইমেজ তৈরি করতে ডকারকে নির্দেশ দেয় বর্তমান ডিরেক্টরিতে ডকারফাইল, এটিকে আপনার স্থানীয় পরিবেশে সংরক্ষণ করুন এবং একটি নাম দিয়ে ট্যাগ করুন, যেমন us-west1-docker.pkg.dev/my-project/hello-repo/hello-app:v1. ছবিটি পরবর্তী বিভাগে আর্টিফ্যাক্ট রেজিস্ট্রিতে পুশ করা হয়েছে - দ্য PROJECT_IDভেরিয়েবল কন্টেইনার ইমেজকে এর সাথে যুক্ত করে আপনার Google ক্লাউড প্রকল্পে হ্যালো-রিপোজিটরি - দ্য us-west1-docker.pkg.devprefix আর্টিফ্যাক্ট রেজিস্ট্রি বোঝায়, আপনার সংগ্রহস্থলের জন্য আঞ্চলিক হোস্ট - দ্য চালান বিল্ডটি সফল হয়েছে তা যাচাই করতে docker imagescommand: ডকার ইমেজ আউটপুট: রিপোজিটরি ট্যাগ ইমেজ আইডি তৈরি করা হয়েছে সাইজ us-west1-docker.pkg.dev/my-project/hello-repo/hello-app v1 25cfadb1bf28 10 সেকেন্ড আগে 54 MB ## স্থানীয়ভাবে আপনার কন্টেইনার চালানো (ঐচ্ছিক) আপনার স্থানীয় ডকার ইঞ্জিন ব্যবহার করে আপনার ধারক চিত্র পরীক্ষা করুন: ডকার রান --rm -p 8080:8080 REGION-docker.pkg.devPROJECT_ID}/hello-repo/hello-app:v1 আপনি ক্লাউড শেল ব্যবহার করছেন, ক্লিক করুন ওয়েব প্রিভিউ বোতাম এবং তারপর নির্বাচন করুন 8080পোর্ট নম্বর। GKE একটি নতুন ব্রাউজার উইন্ডোতে তার প্রক্সি পরিষেবাতে পূর্বরূপ URL খোলে অন্যথায়, একটি নতুন টার্মিনাল উইন্ডো খুলুন (অথবা একটি ক্লাউড শেল ট্যাব) এবং কনটেইনারটি কাজ করে কিনা এবং "হ্যালো, ওয়ার্ল্ড"এর সাথে অনুরোধের জবাব দেয় তা যাচাই করতে নিম্নলিখিত কমান্ডটি চালান কার্ল httplocalhost:8080 আপনি একটি সফল প্রতিক্রিয়া দেখার পরে, আপনি টিপে কন্টেইনারটি ক্যানডাউন করুন৷ Ctrl+Cin ট্যাবে যেখানে ডকার রানকমান্ড চলছে ## ডকার ইমেজটিকে আর্টিফ্যাক্ট রেজিস্ট্রিতে ঠেলে দেওয়া হচ্ছে আপনাকে অবশ্যই একটি রেজিস্ট্রিতে কন্টেইনার ইমেজ আপলোড করতে হবে যাতে আপনার GKE ক্লাস্টার কন্টেইনার ইমেজটি ডাউনলোড এবং চালাতে পারে। এই টিউটোরিয়ালে, আপনি আপনার কন্টেইনারটি আর্টিফ্যাক্ট রেজিস্ট্রিতে সংরক্ষণ করবেন আর্টিফ্যাক্ট রেজিস্ট্রিতে প্রমাণীকরণের জন্য ডকার কমান্ড-লাইন টুল কনফিগার করুন: gcloud auth কনফিগার-ডকার REGION-docker.pkg.dev ডকার ইমেজটি পুশ করুন যা আপনি এইমাত্র সংগ্রহস্থলে তৈরি করেছেন: ডকার ধাক্কা REGION-docker.pkg.devPROJECT_ID}/hello-repo/hello-app:v1 ## একটি GKE ক্লাস্টার তৈরি করা হচ্ছে এখন ডকার ইমেজটি আর্টিফ্যাক্ট রেজিস্ট্রিতে সংরক্ষণ করা হয়েছে, একটি GKE তৈরি করুন ক্লাস্টার চালানোর জন্য হ্যালো-অ্যাপ। একটি GKE ক্লাস্টার কম্পিউট ইঞ্জিন VM দৃষ্টান্তগুলির একটি পুল নিয়ে গঠিত Kubernetes চলছে, ওপেন সোর্স ক্লাস্টার অর্কেস্ট্রেশন সিস্টেম যা GKE কে ক্ষমতা দেয় মেঘের শেল আপনার কম্পিউট ইঞ্জিন জোন বা অঞ্চল সেট করুন। আপনি GKE-তে ব্যবহার করার জন্য যে মোড ব্যবহার করতে চান তার উপর নির্ভর করে একটি ডিফল্ট অঞ্চল বা অঞ্চল নির্দিষ্ট করুন। আপনি যদি স্ট্যান্ডার্ড মোড ব্যবহার করেন, আপনার ক্লাস্টারটি জোনাল (এই টিউটোরিয়ালের জন্য), তাই আপনার ডিফল্ট কম্পিউট জোন সেট করুন। আপনি অটোপাইলট মোড ব্যবহার করলে, আপনার ক্লাস্টার আঞ্চলিক, তাই আপনার ডিফল্ট গণনা অঞ্চল সেট করুন। আপনার তৈরি আর্টিফ্যাক্ট রেজিস্ট্রি সংগ্রহস্থলের সবচেয়ে কাছের একটি অঞ্চল বা অঞ্চল চয়ন করুন৷ স্ট্যান্ডার্ড ক্লাস্টার, যেমন us-west1-a: gcloud কনফিগারেশন সেট কম্পিউট/জোন COMPUTE_ZONE অটোপাইলট ক্লাস্টার, যেমন us-west1: gcloud কনফিগারেশন সেট কম্পিউট/অঞ্চল COMPUTE_REGION - নামে একটি ক্লাস্টার তৈরি করুন হ্যালো-ক্লাস্টার: স্ট্যান্ডার্ড ক্লাস্টার: gcloud কন্টেইনার ক্লাস্টার হ্যালো-ক্লাস্টার তৈরি করে অটোপাইলট ক্লাস্টার: gcloud কন্টেইনার ক্লাস্টার তৈরি-স্বয়ংক্রিয় হ্যালো-ক্লাস্টার আপনার GKE ক্লাস্টার তৈরি হতে এবং স্বাস্থ্য-পরীক্ষা করতে কয়েক মিনিট সময় লাগে - কমান্ডটি সম্পূর্ণ হওয়ার পরে, ক্লাস্টারের তিনটি নোড দেখতে নিম্নলিখিত কমান্ডটি চালান: kubectl নোড পেতে আউটপুট: নাম স্থিতি ভূমিকা বয়স সংস্করণ gke-hello-cluster-default-pool-229c0700-cbtd প্রস্তুত 92s v1.18.12-gke.1210 gke-hello-cluster-default-pool-229c0700-fc5j Ready 91s v1.18.12-gke.1210 gke-hello-cluster-default-pool-229c0700-n9l7 Ready 92s v1.18.12-gke.1210 Console Go to the Google Kubernetes Enginepage in the Google Cloud console Go to Google Kubernetes Engine Click Create Choose Standard or Autopilot mode and click Configure In the Namefield, enter the name hello-cluster Select a zone or region: Standardcluster: Under Location type, select Zonaland then select a Compute Engine zone from the Zonedrop-down list, such as us-west1-a Autopilotcluster: Select a Compute Engine region from the Regiondrop-down list, such as us-west1 - Click Create. This creates a GKE cluster Wait for the cluster to be created. When the cluster is ready, a green check mark appears next to the cluster name ## Deploying the sample app to GKE You are now ready to deploy the Docker image you built to your GKE cluster Kubernetes represents applications as Pods, which are scalable units holding one or more containers. The Pod is the smallest deployable unit in Kubernetes. Usually, you deploy Pods as a set of replicas that can be scaled and distributed together across your cluster. One way to deploy a set of replicas is through a Kubernetes Deployment In this section, you create a Kubernetes Deployment to run hello-app on your cluster. This Deployment has replicas (Pods). One Deployment Pod contains only one container: the hello-app Docker image You also create a HorizontalPodAutoscaler resource that scales the number of Pods from 3 to a number between 1 and 5, based on CPU load Cloud Shell Ensure that you are connected to your GKE cluster gcloud container clusters get-credentials hello-cluster --zone COMPUTE_ZONE Create a Kubernetes Deployment for your hello-appDocker image kubectl create deployment hello-app --image= REGION-docker.pkg.devPROJECT_ID}/hello-repo/hello-app:v1 Set the baseline number of Deployment replicas to 3 kubectl scale deployment hello-app --replicas=3 Create a HorizontalPodAutoscalerresource for your Deployment kubectl autoscale deployment hello-app --cpu-percent=80 --min=1 --max=5 To see the Pods created, run the following command: kubectl get pods Output: NAME READY STATUS RESTARTS AGE hello-app-784d7569bc-hgmpx 1/1 Running 0 10s hello-app-784d7569bc-jfkz5 1/1 Running 0 10s hello-app-784d7569bc-mnrrl 1/1 Running 0 15s Console Go to the Workloadspage in the Google Cloud console Click Deploy In the Specify containersection, select Existing container image In the Image pathfield, click Select In the Select container imagepane, select the hello-appimage you pushed to Artifact Registry and click Select In the Containersection, click Done, then click Continue In the Configurationsection, under Labels, enter appfor Keyand hello-appfor Value Under Configuration YAML, click View YAML. This opens a YAML configuration file representing the two Kubernetes API resources about to be deployed into your cluster: one Deployment, and one HorizontalPodAutoscalerfor that Deployment Click Close, then click Deploy When the Deployment Pods are ready, the Deployment detailspage opens Under Managed pods, note the three running Pods for the hello-appDeployment ## Exposing the sample app to the internet While Pods do have individually-assigned IP addresses, those IPs can only be reached from inside your cluster. Also, GKE Pods are designed to be ephemeral, starting or stopping based on scaling needs. And when a Pod crashes due to an error, GKE automatically redeploys that Pod, assigning a new Pod IP address each time What this means is that for any Deployment, the set of IP addresses corresponding to the active set of Pods is dynamic. We need a way to 1) group Pods together into one static hostname, and 2) expose a group of Pods outside the cluster, to the internet Kubernetes Services solve for both of these problems Services group Pods into one static IP address, reachable from any Pod inside the cluster GKE also assigns a DNS hostname to that static IP. For example, hello-app.default.svc.cluster.local The default Service type in GKE is called ClusterIP, where the Service gets an IP address reachable only from inside the cluster To expose a Kubernetes Service outside the cluster, create a Service of type LoadBalancer This type of Service spawns an External Load Balancer IP for a set of Pods, reachable through the internet In this section, you expose the hello-app Deployment to the internet using a Service of type LoadBalancer Cloud Shell Use the kubectl exposecommand to generate a Kubernetes Service for the hello-appdeployment: kubectl expose deployment hello-app --name=hello-app-service --type=LoadBalancer --port 80 --target-port 8080 Here, the --portflag specifies the port number configured on the Load Balancer, and the --target-portflag specifies the port number that the hello-appcontainer is listening on Run the following command to get the Service details for hello-app-service: kubectl get service Output: NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE hello-app-service 10.3.251.122 203.0.113.0 80:30877/TCP 10s Copy the EXTERNAL_IPaddress to the clipboard (for instance: 203.0.113.0) Console Go to the Workloadspage in the Google Cloud console Click hello-app From the Deployment details page, click Actions > Expose In the Exposedialog, set the Target portto 8080. This is the port the hello-appcontainer listens on From the Service typedrop-down list, select Load balancer Click Exposeto create a Kubernetes Service for hello-app When the Load Balancer is ready, the Service detailspage opens Scroll down to the External endpointsfield, and copy the IP address Now that the hello-app Pods are exposed to the internet through a Kubernetes Service, you can open a new browser tab, and navigate to the Service IP address you copied to the clipboard. A Hello, World! message appears, along with a Hostname field. The Hostname corresponds to one of the three hello-app Pods serving your HTTP request to your browser ## Deploying a new version of the sample app In this section, you upgrade hello-app to a new version by building and deploying a new Docker image to your GKE cluster GKE's rolling update feature lets you update your Deployments without downtime. During a rolling update, your GKE cluster incrementally replaces the existing hello-app Pods with Pods containing the Docker image for the new version During the update, your load balancer service routes traffic only into available Pods Return to Cloud Shell, where you have cloned the hello app source code and Dockerfile. Update the function hello()in the main.gofile to report the new version 2.0.0 Build and tag a new hello-appDocker image docker build -t REGION-docker.pkg.devPROJECT_ID}/hello-repo/hello-app:v2 Push the image to Artifact Registry docker push REGION-docker.pkg.devPROJECT_ID}/hello-repo/hello-app:v2 Now you're ready to update your hello-app Kubernetes Deployment to use a new Docker image Cloud Shell Apply a rolling update to the existing hello-appDeployment with an image update using the kubectl set imagecommand: kubectl set image deployment/hello-app hello-app= REGION-docker.pkg.devPROJECT_ID}/hello-repo/hello-app:v2 Watch the running Pods running the v1image stop, and new Pods running the v2image start watch kubectl get pods Output: NAME READY STATUS RESTARTS AGE hello-app-89dc45f48-5bzqp 1/1 Running 0 2m42s hello-app-89dc45f48-scm66 1/1 Running 0 2m40s In a separate tab, navigate again to the hello-app-serviceExternal IP. You should now see the Versionset to 2.0.0 Console Go to the Workloadspage in the Google Cloud console Click hello-app On the Deployment detailspage, click Actions > Rolling update In the Rolling updatedialog, set the Image of hello-appfield to REGION-docker.pkg.dev/ PROJECT_ID/hello-repo/hello-app:v2 Click Update On the Deployment detailspage, inspect the Active Revisionssection. You should now see two Revisions, 1 and 2. Revision 1 corresponds to the initial Deployment you created earlier. Revision 2 is the rolling update you just started After a few moments, refresh the page. Under Managed pods, all of the replicas of hello-appnow correspond to Revision 2 In a separate tab, navigate again to the Service IP address you copied. The Versionshould be 2.0.0 ## Clean up To avoid incurring charges to your Google Cloud account for the resources used in this tutorial, either delete the project that contains the resources, or keep the project and delete the individual resources Delete the Service:This deallocates the Cloud Load Balancer created for your Service: kubectl delete service hello-app-service Delete the cluster:This deletes the resources that make up the cluster, such as the compute instances, disks, and network resources: gcloud container clusters delete hello-cluster --zone COMPUTE_ZONE Delete your container images:This deletes the Docker images you pushed to Artifact Registry gcloud artifacts docker images delete REGION-docker.pkg.devPROJECT_ID}/hello-repo/hello-app:v1 \ --delete-tags --quiet gcloud artifacts docker images delete \ REGION-docker.pkg.devPROJECT_ID}/hello-repo/hello-app:v2 \ --delete-tags --quiet ## What's next Learn about Pricing for GKE and use the Pricing Calculator to estimate costs Read the Load Balancers tutorial, which demonstrates advanced load balancing configurations for web applications Configure a static IP and domain name for your application Explore other Kubernetes Engine tutorials Explore reference architectures, diagrams, tutorials, and best practices about Google Cloud. Take a look at our Cloud Architecture Center ## Try it for yourself If you're new to Google Cloud, create an account to evaluate how GKE performs in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.Try GKE free