apiVersion: apps/v1
kind: Deployment
metadata:
  name: bubuntest-deployment
  labels:
    app: bubntest
spec:
  replicas: 4
  selector:
    matchLabels:
      app: bubuntest
  template:
    metadata:
      labels:
        app: bubuntest
    spec:
      containers:
        - name: bubuntu
          image: ubuntu
          command: ["/bin/sleep", "3650d"]
          resources:
            requests:
              cpu: 3000m
          livenessProbe:
            exec:
              command:
                - cat
                - /etc/lsb-release
            initialDelaySeconds: 5
            periodSeconds: 5
          readinessProbe:
            exec:
              command:
                - cat
                - /etc/lsb-release
            initialDelaySeconds: 5
            periodSeconds: 5
