apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: hello-world-app
  name: hello-world-app
spec:
  replicas: 2
  selector:
    matchLabels:
      app: hello-world-app
  template:
    metadata:
      labels:
        app: hello-world-app
    spec:
      containers:
        - env:
            - name: service_name
              value: hello-world-app
          image: f5devcentral/f5-hello-world:latest
          imagePullPolicy: Always
          name: hello-world-app
          ports:
            - containerPort: 8080
              protocol: TCP
