Skip to content

Instantly share code, notes, and snippets.

@cben
Created October 26, 2017 13:00
Show Gist options
  • Save cben/da833fdb4fd486a35793f625fbc314e3 to your computer and use it in GitHub Desktop.
Save cben/da833fdb4fd486a35793f625fbc314e3 to your computer and use it in GitHub Desktop.
[{:ems_ref=>
"f07093d7-ba34-11e7-8aa5-001a4a16260b_kibana_openshift3/logging-kibana:v3.6",
:name=>"kibana",
:image=>"openshift3/logging-kibana:v3.6",
:image_pull_policy=>"Always",
:command=>nil,
:memory=>nil,
:cpu_cores=>0.0,
:capabilities_add=>"",
:capabilities_drop=>"KILL,MKNOD,SETGID,SETUID,SYS_CHROOT",
:privileged=>false,
:run_as_user=>1000060000,
:run_as_non_root=>nil,
:security_context=>
{:se_linux_level=>"s0:c8,c2",
:se_linux_user=>nil,
:se_linux_role=>nil,
:se_linux_type=>nil},
:limit_cpu_cores=>nil,
:limit_memory_bytes=>771751936,
:request_cpu_cores=>nil,
:request_memory_bytes=>771751936,
:container_port_configs=>[],
:container_env_vars=>
[{:name=>"ES_HOST", :value=>"logging-es-ops", :field_path=>nil},
{:name=>"ES_PORT", :value=>"9200", :field_path=>nil},
{:name=>"KIBANA_MEMORY_LIMIT", :value=>nil, :field_path=>nil}],
:ems_id=>3},
{:ems_ref=>
"f07093d7-ba34-11e7-8aa5-001a4a16260b_kibana-proxy_openshift3/logging-auth-proxy:v3.6",
:name=>"kibana-proxy",
:image=>"openshift3/logging-auth-proxy:v3.6",
:image_pull_policy=>"Always",
:command=>nil,
:memory=>nil,
:cpu_cores=>0.0,
:capabilities_add=>"",
:capabilities_drop=>"KILL,MKNOD,SETGID,SETUID,SYS_CHROOT",
:privileged=>false,
:run_as_user=>1000060000,
:run_as_non_root=>nil,
:security_context=>
{:se_linux_level=>"s0:c8,c2",
:se_linux_user=>nil,
:se_linux_role=>nil,
:se_linux_type=>nil},
:limit_cpu_cores=>nil,
:limit_memory_bytes=>100663296,
:request_cpu_cores=>nil,
:request_memory_bytes=>100663296,
:container_port_configs=>
[{:ems_ref=>"f07093d7-ba34-11e7-8aa5-001a4a16260b_kibana-proxy_3000__TCP",
:port=>3000,
:host_port=>nil,
:protocol=>"TCP",
:name=>"oaproxy"}],
:container_env_vars=>
[{:name=>"OAP_BACKEND_URL",
:value=>"http://localhost:5601",
:field_path=>nil},
{:name=>"OAP_AUTH_MODE", :value=>"oauth2", :field_path=>nil},
{:name=>"OAP_TRANSFORM",
:value=>"user_header,token_header",
:field_path=>nil},
{:name=>"OAP_OAUTH_ID", :value=>"kibana-proxy", :field_path=>nil},
{:name=>"OAP_MASTER_URL",
:value=>"https://kubernetes.default.svc.cluster.local",
:field_path=>nil},
{:name=>"OAP_PUBLIC_MASTER_URL",
:value=>"https://ocp-master01.10.35.48.11.nip.io:8443",
:field_path=>nil},
{:name=>"OAP_LOGOUT_REDIRECT",
:value=>"https://ocp-master01.10.35.48.11.nip.io:8443/console/logout",
:field_path=>nil},
{:name=>"OAP_MASTER_CA_FILE",
:value=>"/var/run/secrets/kubernetes.io/serviceaccount/ca.crt",
:field_path=>nil},
{:name=>"OAP_DEBUG", :value=>"False", :field_path=>nil},
{:name=>"OAP_OAUTH_SECRET_FILE",
:value=>"/secret/oauth-secret",
:field_path=>nil},
{:name=>"OAP_SERVER_CERT_FILE",
:value=>"/secret/server-cert",
:field_path=>nil},
{:name=>"OAP_SERVER_KEY_FILE",
:value=>"/secret/server-key",
:field_path=>nil},
{:name=>"OAP_SERVER_TLS_FILE",
:value=>"/secret/server-tls.json",
:field_path=>nil},
{:name=>"OAP_SESSION_SECRET_FILE",
:value=>"/secret/session-secret",
:field_path=>nil},
{:name=>"OCP_AUTH_PROXY_MEMORY_LIMIT", :value=>nil, :field_path=>nil}]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment