Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • stormrider_attacks
  • llm
  • personalized
  • attacks_poleval
5 results

.dvcignore

Blame
  • deployment.yaml 1.10 KiB
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      labels:
        app: wordifier
      name: wordifier
      namespace: nlpworkers
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: wordifier
      template:
        metadata:
          labels:
            app: wordifier
        spec:
          containers:
            - image: clarinpl/wordifier:latest
              name: wordifier
              volumeMounts:
                - name: samba
                  mountPath: /samba
                - name: config
                  mountPath: /home/worker/config.ini
                  subPath: config.ini
          volumes:
            - name: samba
              hostPath:
                path: /samba
                type: ""
            - name: config
              configMap:
                name: wordifier-config-ini
    
    ---
    apiVersion: v1
    data:
      config.ini: |-
        [service]
        tool = wordifier
        root = /samba/requests/
        rabbit_host = rabbit_host
        rabbit_user = rabbit_user
        rabbit_password = rabbit_password
        queue_prefix = nlp_
    
        [tool]
        workers_number = 2
    
        [logging]
        port = 9998
        local_log_level = INFO
    kind: ConfigMap
    metadata:
      name: wordifier-config-ini
      namespace: nlpworkers