apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: fedemeter-influxdb
  namespace: federatorai
spec:
  serviceName: fedemeter-influxdb
  selector:
    matchLabels:
      app : fedemeter-influxdb
  template:
    metadata:
      labels:
        app: fedemeter-influxdb
    spec:
      #nodeSelector:
      #  kubernetes.io/hostname: "netrg6akfi-worker-1"
      containers:
      - name: fedemeter-influxdb
        image: quay.io/prophetstor/fedemeter-influxdb:v0.3.39
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 8086
        tty: true
        #resources:
        #  limits:
        #    cpu: "1000m"
#    memory: "1000Mi"