As a user, i often modify the configuration settings for each application i create. This can lead to a confusing number of different oc new-app ... scripts that i need to write in order to capture each configuration. i would like to be able to capture these settings in my source repository and have the oshinko tooling automatically deploy a cluster configuration for me.
example
I have an application that uses several external packages, when i want to run this application i might type the following:
the SPARK_OPTIONS command captures a specific configuration that i need for this application. i will need to use this command line every time i launch the application. what i would like is to capture these settings in a file that i can check in to my repository that oshinko will use to configure my cluster.
i would like to be to check in a file, oshinko-cluster.conf for example, that will contain configurations that will get deployed for me. the options from the previous command line could then get captured in a file like this:
although the previous example is over-simplified, it could form the basis of thinking for an implementation. it would be nice to create some sort of linkage between files in the source repository and the ConfigMap options currently in use by oshinko.
there could be a mechanism to convert config files directory into ConfigMaps, or perhaps a way to include ConfigMap yaml files inside the repo.
regardless of the implementation chosen, this feature will bring another layer of devops coordination to the oshinko s2i process and make the tooling even easier for users.
just to clarify, what i mainly want to be able to automate the process of making ConfigMaps for my spark clusters, and combine that with the ability to check-in said configurations.
As a user, i often modify the configuration settings for each application i create. This can lead to a confusing number of different
oc new-app ...
scripts that i need to write in order to capture each configuration. i would like to be able to capture these settings in my source repository and have the oshinko tooling automatically deploy a cluster configuration for me.example
I have an application that uses several external packages, when i want to run this application i might type the following:
the
SPARK_OPTIONS
command captures a specific configuration that i need for this application. i will need to use this command line every time i launch the application. what i would like is to capture these settings in a file that i can check in to my repository that oshinko will use to configure my cluster.i would like to be to check in a file,
oshinko-cluster.conf
for example, that will contain configurations that will get deployed for me. the options from the previous command line could then get captured in a file like this:oshinko-cluster.conf
implementation
although the previous example is over-simplified, it could form the basis of thinking for an implementation. it would be nice to create some sort of linkage between files in the source repository and the ConfigMap options currently in use by oshinko.
there could be a mechanism to convert config files directory into ConfigMaps, or perhaps a way to include ConfigMap yaml files inside the repo.
regardless of the implementation chosen, this feature will bring another layer of devops coordination to the oshinko s2i process and make the tooling even easier for users.