{"id":2945,"date":"2025-07-04T05:46:42","date_gmt":"2025-07-04T02:46:42","guid":{"rendered":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/"},"modified":"2025-07-04T05:46:42","modified_gmt":"2025-07-04T02:46:42","slug":"seamless-kubernetes-deployment-with-gitlab-ci-cd","status":"publish","type":"post","link":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/","title":{"rendered":"Seamless Kubernetes Deployment with GitLab CI\/CD"},"content":{"rendered":"<p><br \/>\n<\/p>\n<p>In the world of cloud-native applications and scalable microservices, Kubernetes has emerged as the go-to orchestration tool. Its ability to manage containerized applications makes it vital for modern DevOps practices. Integrating Kubernetes with a well-defined CI\/CD pipeline can enhance deployment efficiency and reliability. In this article, we\u2019ll explore how to achieve seamless Kubernetes deployment using GitLab CI\/CD, tailored specifically for WafaTech readers.<\/p>\n<p><\/p>\n<h2>Understanding CI\/CD and Kubernetes<\/h2>\n<p><\/p>\n<h3>What is CI\/CD?<\/h3>\n<p><\/p>\n<p>Continuous Integration (CI) and Continuous Deployment (CD) are practices designed to help software teams deliver code changes more securely and reliably. CI focuses on automatically testing code changes when they are merged into a shared repository, while CD aims to automate the release of those changes to production.<\/p>\n<p><\/p>\n<h3>What is Kubernetes?<\/h3>\n<p><\/p>\n<p>Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. Commonly used with Docker, Kubernetes helps manage complex applications more effectively.<\/p>\n<p><\/p>\n<h2>Why Use GitLab CI\/CD for Kubernetes?<\/h2>\n<p><\/p>\n<p>GitLab CI\/CD provides a unified platform for version control, issue tracking, CI\/CD, and monitoring. By integrating GitLab with Kubernetes, teams can streamline their development workflow and reduce errors during deployment. Some benefits include:<\/p>\n<p><\/p>\n<ul><\/p>\n<li><strong>Unified Docker Registry<\/strong>: GitLab offers a built-in container registry for storing and managing Docker images.<\/li>\n<p><\/p>\n<li><strong>Integration with Git<\/strong>: Automatic triggers for deployments based on code changes.<\/li>\n<p><\/p>\n<li><strong>Visibility<\/strong>: Real-time monitoring and logs for deployments.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h2>Setting Up GitLab CI\/CD for Kubernetes Deployment<\/h2>\n<p><\/p>\n<h3>Prerequisites<\/h3>\n<p><\/p>\n<p>Before diving into the setup process, ensure you have the following:<\/p>\n<p><\/p>\n<ol><\/p>\n<li>A Kubernetes cluster (e.g., EKS, GKE, or a local instance).<\/li>\n<p><\/p>\n<li>A GitLab account with access to a repository.<\/li>\n<p><\/p>\n<li>kubectl installed and configured to interact with your Kubernetes cluster.<\/li>\n<p>\n<\/ol>\n<p><\/p>\n<h3>Step 1: Connecting GitLab to Your Kubernetes Cluster<\/h3>\n<p><\/p>\n<ol><\/p>\n<li>\n<p><strong>Access Your GitLab Project<\/strong>: Navigate to your project on GitLab.<\/p>\n<p>\n<\/li>\n<p><\/p>\n<li>\n<p><strong>Go to Kubernetes Settings<\/strong>:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Click on <strong>Settings<\/strong> &gt; <strong>CI \/ CD<\/strong> &gt; <strong>Kubernetes<\/strong>.<\/li>\n<p>\n<\/ul>\n<p>\n<\/li>\n<p><\/p>\n<li>\n<p><strong>Add Your Cluster<\/strong>: Select <strong>Add Kubernetes cluster<\/strong> and fill in the necessary details:<\/p>\n<p><\/p>\n<ul><\/p>\n<li><strong>Cluster name<\/strong>: A unique name for your cluster.<\/li>\n<p><\/p>\n<li><strong>API URL<\/strong>: The Kubernetes API server URL.<\/li>\n<p><\/p>\n<li><strong>CA Certificate<\/strong>: Upload the CA certificate for secure communication.<\/li>\n<p><\/p>\n<li><strong>Access Token<\/strong>: Use a Kubernetes service account token.<\/li>\n<p>\n<\/ul>\n<p>\n<\/li>\n<p><\/p>\n<li>\n<p><strong>Test the Connection<\/strong>: Ensure that GitLab can communicate with your Kubernetes cluster by clicking on the <strong>Test<\/strong> button.<\/p>\n<p>\n<\/li>\n<p>\n<\/ol>\n<p><\/p>\n<h3>Step 2: Creating a <code>.gitlab-ci.yml<\/code> File<\/h3>\n<p><\/p>\n<p>Create a file named <code>.gitlab-ci.yml<\/code> in your project repository. This file will define your CI\/CD pipeline. Here&#8217;s an example of a simple pipeline for deploying a Node.js application:<\/p>\n<p><\/p>\n<p>yaml<br \/>\nimage: node:14<\/p>\n<p><\/p>\n<p>stages:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>build<\/li>\n<p><\/p>\n<li>test<\/li>\n<p><\/p>\n<li>deploy<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>before_script:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>npm install<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>build:<br \/>\nstage: build<br \/>\nscript:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>npm run build<\/li>\n<p><\/p>\n<li>docker build -t registry.gitlab.com\/username\/repo\/image:latest .<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>test:<br \/>\nstage: test<br \/>\nscript:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>npm test<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>deploy:<br \/>\nstage: deploy<br \/>\nenvironment:<br \/>\nname: production<br \/>\nurl: <a href=\"https:\/\/your-app-url.com\">https:\/\/your-app-url.com<\/a><br \/>\nscript:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>echo &#8220;Deploying to Kubernetes&#8221;<\/li>\n<p><\/p>\n<li>kubectl config set-context &#8211;current &#8211;namespace=your-namespace<\/li>\n<p><\/p>\n<li>kubectl apply -f k8s\/deployment.yaml<\/li>\n<p><\/p>\n<li>kubectl apply -f k8s\/service.yaml<br \/>\nonly:<\/li>\n<p><\/p>\n<li>master<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3>Step 3: Kubernetes Configuration Files<\/h3>\n<p><\/p>\n<p>In the example above, create a directory named <code>k8s<\/code> in your project root to hold your Kubernetes configuration files. You will typically need at least two files:<\/p>\n<p><\/p>\n<ol><\/p>\n<li><strong>Deployment (k8s\/deployment.yaml)<\/strong><\/li>\n<p>\n<\/ol>\n<p><\/p>\n<p>yaml<br \/>\napiVersion: apps\/v1<br \/>\nkind: Deployment<br \/>\nmetadata:<br \/>\nname: my-app<br \/>\nspec:<br \/>\nreplicas: 3<br \/>\nselector:<br \/>\nmatchLabels:<br \/>\napp: my-app<br \/>\ntemplate:<br \/>\nmetadata:<br \/>\nlabels:<br \/>\napp: my-app<br \/>\nspec:<br \/>\ncontainers:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>name: my-app<br \/>\nimage: registry.gitlab.com\/username\/repo\/image:latest<br \/>\nports:<\/p>\n<ul><\/p>\n<li>containerPort: 3000<\/li>\n<p>\n<\/ul>\n<p>\n<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<ol start=\"2\"><\/p>\n<li><strong>Service (k8s\/service.yaml)<\/strong><\/li>\n<p>\n<\/ol>\n<p><\/p>\n<p>yaml<br \/>\napiVersion: v1<br \/>\nkind: Service<br \/>\nmetadata:<br \/>\nname: my-app-service<br \/>\nspec:<br \/>\ntype: LoadBalancer<br \/>\nports:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>port: 80<br \/>\ntargetPort: 3000<br \/>\nselector:<br \/>\napp: my-app<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3>Step 4: Running Your CI\/CD Pipeline<\/h3>\n<p><\/p>\n<p>Once you have completed the configuration, any code push to the <code>master<\/code> branch will trigger the CI\/CD pipeline defined in your <code>.gitlab-ci.yml<\/code>. GitLab will:<\/p>\n<p><\/p>\n<ol><\/p>\n<li>Build the application.<\/li>\n<p><\/p>\n<li>Run tests.<\/li>\n<p><\/p>\n<li>Deploy the application to your specified Kubernetes cluster.<\/li>\n<p>\n<\/ol>\n<p><\/p>\n<h3>Step 5: Monitoring and Logging<\/h3>\n<p><\/p>\n<p>GitLab provides built-in features to monitor your deployments. You can check pipeline logs and the status of your application directly from the GitLab interface. Integrating tools like Prometheus and Grafana can enhance monitoring for your Kubernetes applications, providing insights into performance and availability.<\/p>\n<p><\/p>\n<h2>Conclusion<\/h2>\n<p><\/p>\n<p>Combining Kubernetes with GitLab CI\/CD results in a robust deployment pipeline that enhances productivity, minimizes errors, and accelerates application delivery. By following these steps, WafaTech readers can leverage the power of Kubernetes and GitLab CI\/CD to streamline their development processes. Embracing these tools not only builds a strong foundation for your applications but also empowers your teams to innovate faster and more efficiently.<\/p>\n<p><\/p>\n<p>Happy Coding!<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>In the world of cloud-native applications and scalable microservices, Kubernetes has emerged as the go-to orchestration tool. Its ability to manage containerized applications makes it vital for modern DevOps practices. Integrating Kubernetes with a well-defined CI\/CD pipeline can enhance deployment efficiency and reliability. In this article, we\u2019ll explore how to achieve seamless Kubernetes deployment using [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2946,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[213],"tags":[960,232,1570,217,230],"class_list":["post-2945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kubernetes","tag-cicd","tag-deployment","tag-gitlab","tag-kubernetes","tag-seamless","et-has-post-format-content","et_post_format-et-post-format-standard"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.5 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Seamless Kubernetes Deployment with GitLab CI\/CD - WafaTech Blogs<\/title>\n<meta name=\"description\" content=\"Seamless Kubernetes Deployment with GitLab CI\/CD %\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Seamless Kubernetes Deployment with GitLab CI\/CD\" \/>\n<meta property=\"og:description\" content=\"Seamless Kubernetes Deployment with GitLab CI\/CD %\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/\" \/>\n<meta property=\"og:site_name\" content=\"WafaTech Blogs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/people\/WafaTech\/61560546351289\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-04T02:46:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2024\/06\/logo_big.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2221\" \/>\n\t<meta property=\"og:image:height\" content=\"482\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"WafaTech SA\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wafatech_sa\" \/>\n<meta name=\"twitter:site\" content=\"@wafatech_sa\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"WafaTech SA\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/\"},\"author\":{\"name\":\"WafaTech SA\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#\\\/schema\\\/person\\\/1a5761fc0feb63ab59d295d7c2648f06\"},\"headline\":\"Seamless Kubernetes Deployment with GitLab CI\\\/CD\",\"datePublished\":\"2025-07-04T02:46:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/\"},\"wordCount\":731,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Seamless-Kubernetes-Deployment-with-GitLab-CICD.png\",\"keywords\":[\"CICD\",\"Deployment\",\"GitLab\",\"Kubernetes\",\"Seamless\"],\"articleSection\":[\"Kubernetes\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/\",\"url\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/\",\"name\":\"Seamless Kubernetes Deployment with GitLab CI\\\/CD - WafaTech Blogs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Seamless-Kubernetes-Deployment-with-GitLab-CICD.png\",\"datePublished\":\"2025-07-04T02:46:42+00:00\",\"description\":\"Seamless Kubernetes Deployment with GitLab CI\\\/CD %\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Seamless-Kubernetes-Deployment-with-GitLab-CICD.png\",\"contentUrl\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Seamless-Kubernetes-Deployment-with-GitLab-CICD.png\",\"width\":1024,\"height\":1024,\"caption\":\"GitLab CI\\\/CD Integration\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/seamless-kubernetes-deployment-with-gitlab-ci-cd\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Seamless Kubernetes Deployment with GitLab CI\\\/CD\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/\",\"name\":\"WafaTech Blogs\",\"description\":\"Smart Technologies\",\"publisher\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#organization\"},\"alternateName\":\"WafaTech\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#organization\",\"name\":\"WafaTech Blogs\",\"alternateName\":\"WafaTech\",\"url\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/logo_big.webp\",\"contentUrl\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/logo_big.webp\",\"width\":2221,\"height\":482,\"caption\":\"WafaTech Blogs\"},\"image\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/people\\\/WafaTech\\\/61560546351289\\\/\",\"https:\\\/\\\/x.com\\\/wafatech_sa\",\"https:\\\/\\\/www.youtube.com\\\/@wafatech-sa\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wafatech\\\/\"],\"description\":\"WafaTech, a leading Saudi IT services provider, specializes in cloud solutions, connectivity, and ICT services. Offering secure cloud infrastructure, high-speed internet, and ICT solutions like hosting, backup, and disaster recovery, WafaTech operates a Tier 3 data center at KAUST with ISO certifications. Regulated by CST, the company is committed to innovation, security, and customer satisfaction, empowering businesses in the digital age.\",\"email\":\"sales@wafatech.sa\",\"legalName\":\"Al-Wafa Al-Dhakia For Information Technology LLC\",\"foundingDate\":\"2013-01-08\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#\\\/schema\\\/person\\\/1a5761fc0feb63ab59d295d7c2648f06\",\"name\":\"WafaTech SA\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fde877f001a2e0497276edc0684d3ba2a416c0de8caeb8e785076a1b1b932b3a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fde877f001a2e0497276edc0684d3ba2a416c0de8caeb8e785076a1b1b932b3a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fde877f001a2e0497276edc0684d3ba2a416c0de8caeb8e785076a1b1b932b3a?s=96&d=mm&r=g\",\"caption\":\"WafaTech SA\"},\"url\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/author\\\/omer-yaseen\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Seamless Kubernetes Deployment with GitLab CI\/CD - WafaTech Blogs","description":"Seamless Kubernetes Deployment with GitLab CI\/CD %","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/","og_locale":"en_US","og_type":"article","og_title":"Seamless Kubernetes Deployment with GitLab CI\/CD","og_description":"Seamless Kubernetes Deployment with GitLab CI\/CD %","og_url":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/","og_site_name":"WafaTech Blogs","article_publisher":"https:\/\/www.facebook.com\/people\/WafaTech\/61560546351289\/","article_published_time":"2025-07-04T02:46:42+00:00","og_image":[{"width":2221,"height":482,"url":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2024\/06\/logo_big.webp","type":"image\/webp"}],"author":"WafaTech SA","twitter_card":"summary_large_image","twitter_creator":"@wafatech_sa","twitter_site":"@wafatech_sa","twitter_misc":{"Written by":"WafaTech SA","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/#article","isPartOf":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/"},"author":{"name":"WafaTech SA","@id":"https:\/\/wafatech.sa\/blog\/#\/schema\/person\/1a5761fc0feb63ab59d295d7c2648f06"},"headline":"Seamless Kubernetes Deployment with GitLab CI\/CD","datePublished":"2025-07-04T02:46:42+00:00","mainEntityOfPage":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/"},"wordCount":731,"commentCount":0,"publisher":{"@id":"https:\/\/wafatech.sa\/blog\/#organization"},"image":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/#primaryimage"},"thumbnailUrl":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2025\/07\/Seamless-Kubernetes-Deployment-with-GitLab-CICD.png","keywords":["CICD","Deployment","GitLab","Kubernetes","Seamless"],"articleSection":["Kubernetes"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/","url":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/","name":"Seamless Kubernetes Deployment with GitLab CI\/CD - WafaTech Blogs","isPartOf":{"@id":"https:\/\/wafatech.sa\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/#primaryimage"},"image":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/#primaryimage"},"thumbnailUrl":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2025\/07\/Seamless-Kubernetes-Deployment-with-GitLab-CICD.png","datePublished":"2025-07-04T02:46:42+00:00","description":"Seamless Kubernetes Deployment with GitLab CI\/CD %","breadcrumb":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/#primaryimage","url":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2025\/07\/Seamless-Kubernetes-Deployment-with-GitLab-CICD.png","contentUrl":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2025\/07\/Seamless-Kubernetes-Deployment-with-GitLab-CICD.png","width":1024,"height":1024,"caption":"GitLab CI\/CD Integration"},{"@type":"BreadcrumbList","@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/seamless-kubernetes-deployment-with-gitlab-ci-cd\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wafatech.sa\/blog\/"},{"@type":"ListItem","position":2,"name":"Seamless Kubernetes Deployment with GitLab CI\/CD"}]},{"@type":"WebSite","@id":"https:\/\/wafatech.sa\/blog\/#website","url":"https:\/\/wafatech.sa\/blog\/","name":"WafaTech Blogs","description":"Smart Technologies","publisher":{"@id":"https:\/\/wafatech.sa\/blog\/#organization"},"alternateName":"WafaTech","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wafatech.sa\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wafatech.sa\/blog\/#organization","name":"WafaTech Blogs","alternateName":"WafaTech","url":"https:\/\/wafatech.sa\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wafatech.sa\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2024\/06\/logo_big.webp","contentUrl":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2024\/06\/logo_big.webp","width":2221,"height":482,"caption":"WafaTech Blogs"},"image":{"@id":"https:\/\/wafatech.sa\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/people\/WafaTech\/61560546351289\/","https:\/\/x.com\/wafatech_sa","https:\/\/www.youtube.com\/@wafatech-sa","https:\/\/www.linkedin.com\/company\/wafatech\/"],"description":"WafaTech, a leading Saudi IT services provider, specializes in cloud solutions, connectivity, and ICT services. Offering secure cloud infrastructure, high-speed internet, and ICT solutions like hosting, backup, and disaster recovery, WafaTech operates a Tier 3 data center at KAUST with ISO certifications. Regulated by CST, the company is committed to innovation, security, and customer satisfaction, empowering businesses in the digital age.","email":"sales@wafatech.sa","legalName":"Al-Wafa Al-Dhakia For Information Technology LLC","foundingDate":"2013-01-08","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/wafatech.sa\/blog\/#\/schema\/person\/1a5761fc0feb63ab59d295d7c2648f06","name":"WafaTech SA","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fde877f001a2e0497276edc0684d3ba2a416c0de8caeb8e785076a1b1b932b3a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fde877f001a2e0497276edc0684d3ba2a416c0de8caeb8e785076a1b1b932b3a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fde877f001a2e0497276edc0684d3ba2a416c0de8caeb8e785076a1b1b932b3a?s=96&d=mm&r=g","caption":"WafaTech SA"},"url":"https:\/\/wafatech.sa\/blog\/author\/omer-yaseen\/"}]}},"jetpack_featured_media_url":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2025\/07\/Seamless-Kubernetes-Deployment-with-GitLab-CICD.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/posts\/2945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/comments?post=2945"}],"version-history":[{"count":0,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/posts\/2945\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/media\/2946"}],"wp:attachment":[{"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/media?parent=2945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/categories?post=2945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/tags?post=2945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}