Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: metacpan/metacpan-k8s
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: metacpan/metacpan-k8s
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ssoriche/web
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Dec 2, 2024

  1. conf(web): Add uwsgi config as ConfigMap

    The original configuration is part of the base image, this doesn't allow
    for dynamic modification and the default configuration is using a lot of
    resources.
    
    Use the default configuration as the source for the configuration and
    adjusted the number of workers to 5, this number too may be too much,
    but rather than add more workers, add another pod.
    
    To create the ConfigMap, use the following command:
    
    kubectl \
      create configmap uwsgi \
      -n apps--web \
      --from-file=uwsgi.ini \
      -o yaml \
      --dry-run=client \
      > configmap-uwsgi.yaml
    ssoriche committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    f93dcac View commit details
    Browse the repository at this point in the history
  2. conf(web): Mount uwsgi config file

    Using the uwsgi ConfigMap, mount it in the container as a file to
    configure the uwsgi server.
    ssoriche committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    1536309 View commit details
    Browse the repository at this point in the history
  3. conf(web): Set RollingUpdate strategy

    Set the deployment strategy to have 1 pod unavailable during deployments
    of updates. This is to reduce the 503 errors reported by Fastly during
    the deployment of a new version.
    ssoriche committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    fe7cbb0 View commit details
    Browse the repository at this point in the history
Loading