Re: s2i build set hostname

2016-09-09 Thread Robson Ramos Barreto
2016-09-09 16:13 GMT-03:00 Skarbek, John : > Robson, > > What is it that you are trying to accomplish? In your prior thread you > mention the use of setting up an ftp docker image. I think there’s a > misunderstanding for the purpose of s2i here. > You are right. I'm sorry for the confusion here.

Re: s2i build set hostname

2016-09-09 Thread Skarbek, John
Robson, What is it that you are trying to accomplish? In your prior thread you mention the use of setting up an ftp docker image. I think there’s a misunderstanding for the purpose of s2i here. s2i build is not going to build the Dockerfile that you posted. s2i is meant to take an existing doc

Re: Update command for ConfigMaps --from-file

2016-09-09 Thread Ben Pritchett
Thanks, that solves my immediate issue for automating our router config. Thanks, Ben Pritchett On Fri, Sep 9, 2016 at 1:05 PM, Jordan Liggitt wrote: > It's a little unintuitive, but you can output the API object from the > create command and pipe it to update > > > oc create configmap foo --fr

Re: Update command for ConfigMaps --from-file

2016-09-09 Thread Jordan Liggitt
It's a little unintuitive, but you can output the API object from the create command and pipe it to update oc create configmap foo --from-file=haproxy-config.template --dry-run -o yaml | oc update -f - On Fri, Sep 9, 2016 at 12:21 PM, Ben Pritchett wrote: > Curious because I didn't see this

Re: s2i build set hostname

2016-09-09 Thread Robson Ramos Barreto
Sure, I'm trying create an image with ssh because I think that sshd is more easy to test Follow the code so far: # cat Dockerfile # ose-ftp-rhel7 FROM rhel7.2 ENV BUILDER_VERSION 1.0 ENV HOSTNAME ose-ftp.example.com RUN INSTALL_PKGS="openssh-server ipa-client" && KADMIN_PASS="" && HOSTNAME="

Update command for ConfigMaps --from-file

2016-09-09 Thread Ben Pritchett
Curious because I didn't see this in the help for ConfigMaps, but is there a method for updating ConfigMap keys with the --from-file argument? My use case relates to the instructions for customizing the HAProxy router here: https://docs.openshift.com/enterprise/3.2/install_config/ install/deploy_r

Re: s2i build set hostname

2016-09-09 Thread Jonathan Yu
Hey Robson, I see, thanks for the context. I'm unfamiliar with ipa-client, so will just share two thoughts: 1. The hostname is fixed for the lifetime of the container (that is, once the pod starts, it will keep its hostname until it crashes or is stopped) 2. If you want to choose a hostname, cons

Re: HAProxy Router

2016-09-09 Thread Clayton Coleman
Ingress is basically just an evolution of the route concept in Kubernetes. We started it there and have let it soak a bit since routes were in production use and we had very clear goals. An ingress controller in Kube is an Openshift Router. The F5 router is a controller that programs F5 to respon

Re: Missing OpenShift Nodes - Unable to Join Cluster

2016-09-09 Thread Jason DeTiberus
On Fri, Sep 9, 2016 at 10:18 AM, Isaac Christoffersen < ichristoffer...@vizuri.com> wrote: > So the hostnames did not change and after rolling back to just the BYO > configuration and removing the AWS settings, I was able to get back up and > running. This means that the certificates were good as

Re: s2i build set hostname

2016-09-09 Thread Robson Ramos Barreto
Hello Jonathan Thank you for your time. I'm trying to install the ipa-client on which must have a fixed hostname My final goal is set up a FTP container with centralized authentication as I asked for advice: http://lists.openshift.redhat.com/openshift-archives/users/2016-September/msg00026.html

Re: Missing OpenShift Nodes - Unable to Join Cluster

2016-09-09 Thread Isaac Christoffersen
So the hostnames did not change and after rolling back to just the BYO configuration and removing the AWS settings, I was able to get back up and running. This means that the certificates were good as well. I lost the ability to use EBS volumes doing this, but we in the process of using EFS anywa

open shift env variables with slash characters

2016-09-09 Thread Julio Saura
Hello just to be sure .. i need to pass some env variables containing @ and / characters so far i did always scape them for example { "name”:"URL", "value”:”http:\/\/www.example.com\/uri" }, this is the right way ? i am having problems recovering this variable on a