Kubernetes logo on an open laptop screen

Creating Kubernetes services

Matthew Casperson

Matthew Casperson

January 1, 2022 • 1 min

This post is the 5th in our Kubernetes training series, providing DevOps engineers with an introduction to Docker, Kubernetes, and Octopus.

This video demonstrates how to expose pods to network traffic via a service.

You can work through the series using the links below.


Sample Service YAML

apiVersion: v1
kind: Service
  name: webapp
    app: webapp
  type: LoadBalancer
    - protocol: TCP
      port: 80
      targetPort: 80

Learn more

If you're looking to build and deploy containerized applications to AWS platforms such as EKS and ECS, the Octopus Workflow Builder populates a GitHub repository with a sample application built with GitHub Actions workflows and configures a hosted Octopus instance with sample deployment projects demonstrating best practices such as vulnerability scanning and Infrastructure as Code (IaC).

Happy deployments!