Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haproxyPullPolicy in #18114

Open
rmykland opened this issue Jan 28, 2025 · 0 comments
Open

haproxyPullPolicy in #18114

rmykland opened this issue Jan 28, 2025 · 0 comments

Comments

@rmykland
Copy link

Description

The CRD instance for the haproxy deployment/replicaset/pod has a parameter "haproxyPullPolicy" described as setting the image pull policy for the haproxy image. However, when I make sure the required image is local and set this pull policy to "IfNotPresent", neither the deployment or the replicaset change from "Always", and if themselves changed to "IfNotPresent" will change back to "Always". Meanwhile, haproxy itself settles into an error state of ImagePullBackoff if not connected to the Internet.

Steps to reproduce

On Ubuntu 22.04:
sudo apt update
sudo apt install -y python3 python3-venv libpq-dev build-essential
Follow the instructions "Using the Installer in an Air-Gapped Environment" https://ems-docs.element.io/books/element-server-suite-documentation-lts-2310/page/using-the-installer-in-an-air-gapped-environment

Homeserver

A local air-gapped homeserver.

Synapse Version

v1.105.1

Installation Method

Other (please mention below)

Database

PostgreSQL: 3 pods (the standard)

Workers

Single process

Platform

Air-gapped Ubuntu 22.04 on a private network.

Configuration

Only the standard other than changing some instances of imagePullPolicy or pullPolicy from Always to IfNotPresent.

Relevant log output

Let me know what logs/output you want to see and I'll provide them. Here are the relevant *.yaml files: https://drive.google.com/file/d/1avuOphLpgwHpsCoN3HIlv0sFBdeG6QLE/view?usp=drive_link. Nothing about this setup needs to remain particularly private as it will be running on an air-gapped private network as a demo server.

Anything else that would be useful to know?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant