Thanks, So I have manually created /var/lib/origin/openshift.local.manifests.
Do I have to place my elasticpod.yaml in the openshift.local.manifests/ or in the origin/?
I did in the openshift.local.manifests/. After that I tried to execute the file:
# oc create -f elasticpod.yaml/
But I get an error. I thougt is was maybe because the service account wasn't configured properly but it looks good.
[root ip-10-0-0-129 openshift.local.manifests]# oc get sa
NAME SECRETS AGE
builder 2 1h
default 2 1h
deployer 2 1h
es-deploy 3 47m
Error from server: error when creating "pod.yaml": Pod "fluentd-elasticsearch" is forbidden: unable to validate against any security context constraint: [provider restricted: .spec.containers.securityContext.privileged: invalid value 'true', Details: Privileged containers are not allowed provider restricted: .spec.containers.securityContext.VolumeMounts: invalid value 'varlog', Details: Host Volumes are not allowed to be used provider restricted: .spec.containers.securityContext.VolumeMounts: invalid value 'varlibdockercontainers', Details: Host Volumes are not allowed to be used]
From: ewolinet redhat com
Date: Mon, 26 Oct 2015 09:43:33 -0500
Subject: Re: aggregating container logs
To: lorenz vanthillo outlook com
CC: users lists openshift redhat comThis should just be a path on your system.We're specifying this path to tell the Kubelet where to look for our fluentd.yaml file - a little further down in the guide it instructs you to create the yaml file within that directory.On Mon, Oct 26, 2015 at 9:18 AM, Lorenz Vanthillo <lorenz vanthillo outlook com> wrote:I'm trying to aggregate container logs using ElasticSearch
I have to specify my 'openshift.local.manifests' in my node-config.yaml
The problem is I can't find it on OpenShift origin. What's the path to this?
users mailing list
users lists openshift redhat com