You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Michael Moser (JIRA)" <ji...@apache.org> on 2019/07/25 13:22:00 UTC
[jira] [Assigned] (NIFI-6484) sed: can't read
/opt/nifi/nifi-current/conf/nifi.properties
[ https://issues.apache.org/jira/browse/NIFI-6484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Moser reassigned NIFI-6484:
-----------------------------------
Assignee: Michael Moser
> sed: can't read /opt/nifi/nifi-current/conf/nifi.properties
> -----------------------------------------------------------
>
> Key: NIFI-6484
> URL: https://issues.apache.org/jira/browse/NIFI-6484
> Project: Apache NiFi
> Issue Type: Bug
> Components: Docker
> Affects Versions: 1.9.2
> Environment: image: "apache/nifi:latest", GKE (Google Kubernetes Engine)
> Reporter: thuy le
> Assignee: Michael Moser
> Priority: Major
>
> I meet an issue when I try to deploy apache nifi on GKE (Google Kubernetes Engine)
> sed: can't read /opt/nifi/nifi-current/conf/nifi.properties
> [!https://user-images.githubusercontent.com/24593553/61722336-17c3ea00-ad38-11e9-830a-e4fe56a7acb6.png|width=470,height=136!|https://user-images.githubusercontent.com/24593553/61722336-17c3ea00-ad38-11e9-830a-e4fe56a7acb6.png]
>
> yalm file
> ---
> apiVersion: v1
> kind: PersistentVolumeClaim
> metadata:
> name: nificonf-claim
> spec:
> accessModes: [ "ReadWriteOnce" ]
> storageClassName: "standard"
> resources:
> requests:
> storage: 3Gi
> ---
> apiVersion: "apps/v1"
> kind: "Deployment"
> metadata:
> name: "nificonf"
> namespace: "default"
> labels:
> app: "nificonf"
> spec:
> replicas: 1
> selector:
> matchLabels:
> app: "nificonf"
> template:
> metadata:
> labels:
> app: "nificonf"
> spec:
> securityContext:
> runAsUser: 1000
> fsGroup: 1000
> containers:
> - name: "nificonf"
> image: "apache/nifi:latest"
> ports:
> - containerPort: 8080
> volumeMounts:
> - name: nificonf-data
> mountPath: /opt/nifi/nifi-current/conf
> volumes:
> - name: nificonf-data
> persistentVolumeClaim:
> claimName: nificonf-claim
> ---
> apiVersion: "autoscaling/v2beta1"
> kind: "HorizontalPodAutoscaler"
> metadata:
> name: "nificonf-hpa"
> namespace: "default"
> labels:
> app: "nificonf"
> spec:
> scaleTargetRef:
> kind: "Deployment"
> name: "nificonf"
> apiVersion: "apps/v1"
> minReplicas: 1
> maxReplicas: 1
> metrics:
> - type: "Resource"
> resource:
> name: "cpu"
> targetAverageUtilization: 80
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)