What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Are any of the Spryker Kubernetes available in open sources?

Posts: 5 πŸ§‘πŸ»β€πŸš€ - Cadet
edited May 2023 in Help

Are any of them available in open sources? Can they be found on unofficial sources, or these are closed repositories?

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Comments

  • SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Sorry, should have started the thread from the beginning.

    I meant that Spryker doesn't provide anything related to k8s.
    So in case something exists "out there in the wild", someone will reply here as well. πŸ™‚
    If I'm not mistaken some projects might have their own setups already and maybe will share their knowledge.

  • Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    We have been running Spryker in Kubernetes since early 2020. Works well.

  • Posts: 5 πŸ§‘πŸ»β€πŸš€ - Cadet

    Will you please advise how is this implemented in more details?

  • Posts: 5 πŸ§‘πŸ»β€πŸš€ - Cadet

    While analyzing docker sdk, I see a completely wrong approach (to my mind) in building images and using them as a corporate product, since everything is built on bash using not a best-practice approach

  • Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    We are building our own images using our own base images through GitLab CI. We are not using docker/sdk in CI/CD at all.

  • Posts: 5 πŸ§‘πŸ»β€πŸš€ - Cadet

    That's really cool. We also use GitLab and the task is to transfer spyker to GitLab CI/CD. Could you please provide a part of the CI/CD on building images for spyker? That would help much.

  • Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    I don't know how much I can share here, but it's all basic stuff, really. We start from the official PHP-FPM containers and devise a base image compatible with spryker that also has composer. This is used for testing the code (running console commands) and also used as the base for our shop images. For the shop, we create one image that contains the code (which is used as yves/zed/glue pods) and one with nginx as a base for the assets. So our assets only contain the compiles assets in a bare nginx image.

    To parameterize, we use a kubernetes environment where important stuff is overridden using getenv(). Finally, we deploy to Kubernetes using Ansible, where the different stages are distinguished.

  • Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet

    docker build for that shop image runs a customized install script, similar to the docker/sdk one but just a little different.

  • Posts: 5 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thanks for your reply

Welcome!

It looks like you're new here. Sign in or register to get started.