Logging / Kibana export Logs

2018-08-16 Thread Tobias Brunner
Hi, Does anyone have an idea how logs could be exported from the OpenShift integrated logging for further analysis? Constraints: We can't give the users access to the logging namespace and therefore also not to the Elasticsearch Pod as this would allow the user to bypass access control (Searchguar

Re: Openshift on arm64 Status/

2018-04-23 Thread Tobias Brunner
Hi Bojan, > I would like to know if anyone is running a current build of Openshift > on arm64/aarch64 successfully. If this is more suitable for dev list, > please let me know and I will resubmit there. > I have an Odroid C2 cluster. I tried to install Openshift many times > using ansible-openshif

Re: Starting OpenShift 3.9 on arm64 fails

2018-04-05 Thread Tobias Brunner
] tls: DialWithDialer timed out". I've uploaded the full log with loglevel 10 to Github: https://gist.github.com/tobru/e43e2e4efa9f7f86dd76c818fff41438. Does anyone have a hint what could be wrong? Best, Tobias On 03.04.2018 22:25, Tobias Brunner wrote: > Hi, > > I built OpenSh

Starting OpenShift 3.9 on arm64 fails

2018-04-03 Thread Tobias Brunner
Hi, I built OpenShift on arm64 (using make build). When trying to start, fails after some times: [...] I0403 20:23:18.3631412557 controllermanager.go:513] Started "node" I0403 20:23:18.3632532557 node_controller.go:558] Starting node controller I0403 20:23:18.3632872557 controller_uti

k8s.io/v1 missing after Origin upgrade 1.6 -> 3.7

2018-03-13 Thread Tobias Brunner
Hi, After upgrading an OpenShift Origin Cluster from 1.6 to 3.7.1 an API endpoint got lost: "namespace_controller.go:148] unable to retrieve the complete list of server APIs: k8s.io/v1: the server could not find the requested resource" This was found in "journalctl -u origin-master-controllers.s

Re: Rollout not starting when using Deployment instead DeploymentConfig

2018-03-10 Thread Tobias Brunner
On 10.03.2018 16:03, Michail Kargakis wrote: > Seems like the Deployment controller is not running. How did you install > the cluster? With the official OpenShift Ansible playbook. It's our lab cluster, so it's running since two years +/- and started around OpenShift 3.2 or so, so it got a lot uf

Rollout not starting when using Deployment instead DeploymentConfig

2018-03-09 Thread Tobias Brunner
Hi, I applied a Deployment object to an OpenShift 3.7 cluster which just doesn't start to rollout: --- # cat kube-state-metrics.yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: kube-state spec: selector: matchLabels: app: kube-state template: metadata:

Re: Heptio Contour

2018-01-24 Thread Tobias Brunner
On 24.01.2018 19:31, Clayton Coleman wrote: > In general, when comparing to haproxy and the general state, here's the list > > PROs (envoy): > > * supports http2 natively I would say this is a non-issue: https://www.mail-archive.com/haproxy@formilux.org/msg28004.html --- HTTP/2 (Willy Tarreau)

Re: OpenShift on AWS - Playbooks

2017-10-26 Thread Tobias Brunner
On 26.10.2017 15:23, Clayton Coleman wrote: > The latter is still being actively developed - that will be the future > direction but is not yet ready for genera use. Our work towards > leveraging node bootstrapping and using pre-baked AMIs is also not > completely finalized, so no expectation of s

OpenShift on AWS - Playbooks

2017-10-26 Thread Tobias Brunner
Hi, There are at least two different "official" approaches to get OpenShift on AWS up and running: 1. https://github.com/openshift/openshift-ansible-contrib/tree/master/reference-architecture/aws-ansible 2. https://github.com/openshift/openshift-ansible/tree/master/playbooks/aws Which one of the

Re: oc observe --resync-period - does nothing

2017-10-07 Thread Tobias Brunner
> I'm calling "oc observe" like this: > > oc observe quota --all-namespaces --listen-addr=0.0.0.0:8080 > --object-env-var=OBJ --no-headers --type-env-var=EVENT_TYPE > --resync-period=30s --names=./get-projects.py --delete=./delete.py -- > ./send-data.py > > I would expect that every 30s a resync

oc observe --resync-period - does nothing

2017-10-07 Thread Tobias Brunner
Hi, I'm calling "oc observe" like this: oc observe quota --all-namespaces --listen-addr=0.0.0.0:8080 --object-env-var=OBJ --no-headers --type-env-var=EVENT_TYPE --resync-period=30s --names=./get-projects.py --delete=./delete.py -- ./send-data.py I would expect that every 30s a resync happens, bu

Re: oc observe quota - double update

2017-10-02 Thread Tobias Brunner
Thanks for your answer! On 02.10.2017 23:54, Clayton Coleman wrote: > You'd need to filter that out in your script - this is just how the > changes get passed down. Yeah, I had this idea too, but I think that's gonna be tricky as I probably would have to compare older states and so forth. > Gene

oc observe quota - double update

2017-10-02 Thread Tobias Brunner
Hi all, I'm testing some simple oc observe scripts and facing the following challenge: When watching for changes to quota objects I always get two updates, f.e. when changing a quota object: First the update for the value I've changed, f.e. "spec.hard.cpu" and immediately after that a second event

Re: s2i for gradle builds

2017-09-06 Thread Tobias Brunner
> I was looking for a s2i image for gradle based projects. > A Google search throws up a few possibilities for this. > Does anyone have any experiences or recommendations on this? You could give this one a try: https://github.com/appuio/s2i-gradle-java. PRs and improvement suggestions are very wel

Re: Let's Encrypt certificates

2017-09-06 Thread Tobias Brunner
Hi all, We've developed an Ansible role for automatic installation of the mentioned ACME controller, maybe it's useable for others: https://github.com/appuio/ansible-role-openshift-acme Tobias On 06.09.2017 11:23, Tim Dudgeon wrote: > All, > > I wrote up what I found about getting ACME controll