{"id":2931,"date":"2025-07-02T05:42:33","date_gmt":"2025-07-02T02:42:33","guid":{"rendered":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/"},"modified":"2025-07-02T05:42:33","modified_gmt":"2025-07-02T02:42:33","slug":"automating-kubernetes-deployments-with-github-actions","status":"publish","type":"post","link":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/","title":{"rendered":"Automating Kubernetes Deployments with GitHub Actions"},"content":{"rendered":"<p><br \/>\n<\/p>\n<p>In the fast-evolving landscape of cloud-native applications, deploying and managing Kubernetes (K8s) workloads efficiently is paramount. Kubernetes has become the backbone for container orchestration, but the deployment process can sometimes be cumbersome. Enter GitHub Actions, a powerful tool that allows developers to automate workflows directly within their GitHub repositories. In this article, we\u2019ll explore how to leverage GitHub Actions to automate Kubernetes deployments, streamlining your DevOps processes and enhancing productivity.<\/p>\n<p><\/p>\n<h2>Why Automate Kubernetes Deployments?<\/h2>\n<p><\/p>\n<p>Automating the deployment of applications to Kubernetes offers numerous benefits:<\/p>\n<p><\/p>\n<ol><\/p>\n<li><strong>Consistency<\/strong>: Automation helps eliminate human errors during deployment.<\/li>\n<p><\/p>\n<li><strong>Speed<\/strong>: Faster deployment cycles allow teams to deliver features and fixes more rapidly.<\/li>\n<p><\/p>\n<li><strong>Reproducibility<\/strong>: Ensures the same deployment process can be repeated without discrepancies.<\/li>\n<p><\/p>\n<li><strong>Scalability<\/strong>: Simplifies scaling applications across environments and teams.<\/li>\n<p>\n<\/ol>\n<p><\/p>\n<h2>Setting Up Your Environment<\/h2>\n<p><\/p>\n<p>Before diving into automation, ensure you have the following prerequisites:<\/p>\n<p><\/p>\n<ul><\/p>\n<li><strong>A GitHub Repository<\/strong>: Your application code should be hosted on GitHub.<\/li>\n<p><\/p>\n<li><strong>A Kubernetes Cluster<\/strong>: This can be either a managed service like Google Kubernetes Engine (GKE), Amazon EKS, or self-hosted.<\/li>\n<p><\/p>\n<li><strong>kubectl<\/strong>: The command-line tool for controlling Kubernetes clusters.<\/li>\n<p><\/p>\n<li><strong>GitHub Actions permissions<\/strong>: Ensure your repository has appropriate permissions to trigger actions.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h2>Step-by-Step Guide to Automate Deployments with GitHub Actions<\/h2>\n<p><\/p>\n<h3>Step 1: Create a Kubernetes Config File<\/h3>\n<p><\/p>\n<p>First, define your Kubernetes deployment manifest. Create a file named <code>deployment.yaml<\/code> that describes your application, including container images, replicas, ports, etc. For example:<\/p>\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: my-docker-repo\/my-app:latest<br \/>\nports:<\/p>\n<ul><\/p>\n<li>containerPort: 80<\/li>\n<p>\n<\/ul>\n<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3>Step 2: Set Up GitHub Actions<\/h3>\n<p><\/p>\n<p>Next, you need to create a new GitHub Actions workflow. This can be done by creating a <code>.github\/workflows\/deploy.yml<\/code> file in your repository. Here\u2019s a sample configuration:<\/p>\n<p><\/p>\n<p>yaml<br \/>\nname: Deploy to Kubernetes<\/p>\n<p><\/p>\n<p>on:<br \/>\npush:<br \/>\nbranches:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>main  # Adjust this to your target branch<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>jobs:<br \/>\ndeploy:<br \/>\nruns-on: ubuntu-latest<\/p>\n<p><\/p>\n<pre><code>steps:<br \/>\n- name: Checkout code<br \/>\n  uses: actions\/checkout@v2<br \/>\n<br \/>\n- name: Set up Qubelet<br \/>\n  uses: azure\/setup-kubectl@v1<br \/>\n  with:<br \/>\n    version: '1.21.0'  # Specify your Kubernetes version<br \/>\n<br \/>\n- name: Configure kubectl<br \/>\n  env:<br \/>\n    KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}<br \/>\n  run: echo \"$KUBE_CONFIG_DATA\" | base64 --decode &gt; ~\/.kube\/config<br \/>\n<br \/>\n- name: Deploy to Kubernetes<br \/>\n  run: |<br \/>\n    kubectl apply -f deployment.yaml<\/code><\/pre>\n<p><\/p>\n<h3>Step 3: Configure Secrets<\/h3>\n<p><\/p>\n<p>For secure interactions with your Kubernetes cluster, you\u2019ll need to store your Kubeconfig file as a secret in your GitHub repository. Encode your <code>config<\/code> file in base64 format and add it as <code>KUBE_CONFIG_DATA<\/code> under your repository\u2019s settings in the Secrets section.<\/p>\n<p><\/p>\n<h3>Step 4: Triggering Deployments<\/h3>\n<p><\/p>\n<p>With everything set up, any push to the <code>main<\/code> branch (or the branch you specified) will trigger the GitHub Action, checking out the code, configuring kubectl, and applying the Kubernetes deployment.<\/p>\n<p><\/p>\n<h3>Step 5: Monitoring and Rollback<\/h3>\n<p><\/p>\n<p>Monitor your application through the Kubernetes dashboard or CLI. If deployment issues arise, you can use Helm or Kubectl to rollback to a previous version effortlessly. Setting up alerting and logging mechanisms will also help you keep tabs on the health of your applications.<\/p>\n<p><\/p>\n<h2>Best Practices<\/h2>\n<p><\/p>\n<ol><\/p>\n<li><strong>Use Image Tags<\/strong>: Tag your Docker images with version numbers instead of <code>latest<\/code> to better manage deployments and rollbacks.<\/li>\n<p><\/p>\n<li><strong>Testing<\/strong>: Integrate testing stages in your workflow to ensure code quality before deployment.<\/li>\n<p><\/p>\n<li><strong>Security<\/strong>: Keep your secrets secure and rotate them periodically.<\/li>\n<p><\/p>\n<li><strong>Phased Rollouts<\/strong>: Consider implementing Canaries or Blue-Green deployments for safer rollouts.<\/li>\n<p>\n<\/ol>\n<p><\/p>\n<h2>Conclusion<\/h2>\n<p><\/p>\n<p>Automating Kubernetes deployments with GitHub Actions simplifies the deployment process and enhances your team&#8217;s productivity. The seamless integration of CI\/CD pipelines allows developers to focus on writing code rather than worrying about deployment intricacies. By following the steps outlined in this article, you can set up an efficient and reliable deployment mechanism for your Kubernetes applications, ensuring a smoother journey towards cloud-native success.<\/p>\n<p><\/p>\n<p>Whether you\u2019re a seasoned DevOps professional or a newcomer, embracing automation with tools like GitHub Actions can revolutionize how you deploy applications, leading to enhanced agility and competitiveness in today\u2019s fast-paced development landscape. <\/p>\n<p><\/p>\n<p>Happy deploying!<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>In the fast-evolving landscape of cloud-native applications, deploying and managing Kubernetes (K8s) workloads efficiently is paramount. Kubernetes has become the backbone for container orchestration, but the deployment process can sometimes be cumbersome. Enter GitHub Actions, a powerful tool that allows developers to automate workflows directly within their GitHub repositories. In this article, we\u2019ll explore how [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2932,"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":[986,386,251,985,217],"class_list":["post-2931","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kubernetes","tag-actions","tag-automating","tag-deployments","tag-github","tag-kubernetes","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>Automating Kubernetes Deployments with GitHub Actions - WafaTech Blogs<\/title>\n<meta name=\"description\" content=\"Automating Kubernetes Deployments with GitHub Actions %\" \/>\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\/automating-kubernetes-deployments-with-github-actions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automating Kubernetes Deployments with GitHub Actions\" \/>\n<meta property=\"og:description\" content=\"Automating Kubernetes Deployments with GitHub Actions %\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/\" \/>\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-02T02:42:33+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=\"3 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\\\/automating-kubernetes-deployments-with-github-actions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/\"},\"author\":{\"name\":\"WafaTech SA\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#\\\/schema\\\/person\\\/1a5761fc0feb63ab59d295d7c2648f06\"},\"headline\":\"Automating Kubernetes Deployments with GitHub Actions\",\"datePublished\":\"2025-07-02T02:42:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/\"},\"wordCount\":595,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Automating-Kubernetes-Deployments-with-GitHub-Actions.png\",\"keywords\":[\"Actions\",\"Automating\",\"Deployments\",\"GitHub\",\"Kubernetes\"],\"articleSection\":[\"Kubernetes\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/\",\"url\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/\",\"name\":\"Automating Kubernetes Deployments with GitHub Actions - WafaTech Blogs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Automating-Kubernetes-Deployments-with-GitHub-Actions.png\",\"datePublished\":\"2025-07-02T02:42:33+00:00\",\"description\":\"Automating Kubernetes Deployments with GitHub Actions %\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Automating-Kubernetes-Deployments-with-GitHub-Actions.png\",\"contentUrl\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/Automating-Kubernetes-Deployments-with-GitHub-Actions.png\",\"width\":1024,\"height\":1024,\"caption\":\"GitHub Actions for Kubernetes\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/devops\\\/kubernetes\\\/automating-kubernetes-deployments-with-github-actions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wafatech.sa\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automating Kubernetes Deployments with GitHub Actions\"}]},{\"@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":"Automating Kubernetes Deployments with GitHub Actions - WafaTech Blogs","description":"Automating Kubernetes Deployments with GitHub Actions %","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\/automating-kubernetes-deployments-with-github-actions\/","og_locale":"en_US","og_type":"article","og_title":"Automating Kubernetes Deployments with GitHub Actions","og_description":"Automating Kubernetes Deployments with GitHub Actions %","og_url":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/","og_site_name":"WafaTech Blogs","article_publisher":"https:\/\/www.facebook.com\/people\/WafaTech\/61560546351289\/","article_published_time":"2025-07-02T02:42:33+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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/#article","isPartOf":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/"},"author":{"name":"WafaTech SA","@id":"https:\/\/wafatech.sa\/blog\/#\/schema\/person\/1a5761fc0feb63ab59d295d7c2648f06"},"headline":"Automating Kubernetes Deployments with GitHub Actions","datePublished":"2025-07-02T02:42:33+00:00","mainEntityOfPage":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/"},"wordCount":595,"commentCount":0,"publisher":{"@id":"https:\/\/wafatech.sa\/blog\/#organization"},"image":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/#primaryimage"},"thumbnailUrl":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2025\/07\/Automating-Kubernetes-Deployments-with-GitHub-Actions.png","keywords":["Actions","Automating","Deployments","GitHub","Kubernetes"],"articleSection":["Kubernetes"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/","url":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/","name":"Automating Kubernetes Deployments with GitHub Actions - WafaTech Blogs","isPartOf":{"@id":"https:\/\/wafatech.sa\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/#primaryimage"},"image":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/#primaryimage"},"thumbnailUrl":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2025\/07\/Automating-Kubernetes-Deployments-with-GitHub-Actions.png","datePublished":"2025-07-02T02:42:33+00:00","description":"Automating Kubernetes Deployments with GitHub Actions %","breadcrumb":{"@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/#primaryimage","url":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2025\/07\/Automating-Kubernetes-Deployments-with-GitHub-Actions.png","contentUrl":"https:\/\/wafatech.sa\/blog\/wp-content\/uploads\/2025\/07\/Automating-Kubernetes-Deployments-with-GitHub-Actions.png","width":1024,"height":1024,"caption":"GitHub Actions for Kubernetes"},{"@type":"BreadcrumbList","@id":"https:\/\/wafatech.sa\/blog\/devops\/kubernetes\/automating-kubernetes-deployments-with-github-actions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wafatech.sa\/blog\/"},{"@type":"ListItem","position":2,"name":"Automating Kubernetes Deployments with GitHub Actions"}]},{"@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\/Automating-Kubernetes-Deployments-with-GitHub-Actions.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/posts\/2931","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=2931"}],"version-history":[{"count":0,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/posts\/2931\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/media\/2932"}],"wp:attachment":[{"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/media?parent=2931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/categories?post=2931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wafatech.sa\/blog\/wp-json\/wp\/v2\/tags?post=2931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}