Skip to content

How to create Harvest in K8s? #1913

Answered by rahulguptajss
wooyoungAhn asked this question in Q&A
Discussion options

You must be logged in to vote

I have created a ConfigMap example as shown below. This should work for any cloud environment. For a pvc based approach, you'll need a relevant StorageClass for EKS where your Harvest configuration can be stored.

Your harvest-compose.yaml file as below

version: "3.7"

services:

  u2:
    image: ghcr.io/netapp/harvest:latest
    container_name: poller-u2
    restart: unless-stopped
    ports:
      - 12990:12990
    command: '--poller u2 --promPort 12990 --config /opt/harvest.yml'
    volumes:
      - /Users/rahulg2/GolandProjects/harvest/harvest.yml:/opt/harvest.yml
    networks:
      - backend

networks:
  backend:

Run kompose convert --file harvest-compose.yml --out kub.yaml --volumes…

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@wooyoungAhn
Comment options

@rahulguptajss
Comment options

@rahulguptajss
Comment options

Answer selected by wooyoungAhn
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants