Sign inSign up

efajardo/gwms-fe-docker

By efajardo

Updated almost 6 years ago

The container for the GlideinWMS Frontend

Image
0

2.1K

efajardo/gwms-fe-docker repository overview

gwms-fe-docker

Ingredients needed to containerize frontend:

  1. pilot_certs
  2. voms_certs (if using voms proxy fake)
  3. frontend.xml
  4. proxies.ini
  5. frontend_yaml files:
    • frontend.yaml
    • service.yaml
    • ingress.yaml
    • persistentVolClaim.yaml

Setup:

  1. Make certs secrets using command:

kubectl create secret --from-file=file_name_as_appears_in_container=cert_1_path --from-file=file_name_as_appears_in_container=cert_2_path -n -namespace

  1. Make configMap using 3) and 4):

kubectl create configmap --from-file=file_name_as_appears_in_container=file_name -n -namespace

  1. Make supervisord_fe.conf (5) file as appears in repo. Should be standard.

  2. make dir image-config.d with the scripts inside. Should be standard as well.

  3. Make Dockerfile (7). Also Standard. (Here can change vim for emacs)

  4. Make .yaml files with correct name of frontend in each file. Make sure to have correct name of frontend in ingress host.

  5. Create the PersistentVolumeClaim for the frontend web files ex,

    kubectl create -f k8s/jlabperVolClaim.yaml -n osg-frontends
    

Tag summary

Content type

Image

Digest

Size

333.3 MB

Last updated

almost 6 years ago

docker pull efajardo/gwms-fe-docker