HUB
Sign inSign up
spring-cloud-kubernetes logo

openeuler/spring-cloud-kubernetes

Sponsored OSS

By openeuler

•Updated about 22 hours ago

Image
0

98

openeuler/spring-cloud-kubernetes repository overview

⁠Quick reference

⁠Spring Cloud Kubernetes | openEuler

Current Spring Cloud Kubernetes docker images are built on openEuler⁠. This repository is free to use and exempted from per-user rate limits.

Spring Cloud Kubernetes provides Kubernetes-native integration for Spring Cloud applications: service discovery backed by Kubernetes endpoints, configuration loaded from ConfigMaps/Secrets and Ribbon-style load balancing between pods.

The image bundles the upstream release-train stack on openEuler: the starter is resolved by the official spring-cloud-dependencies BOM (release train 2026.0.x, which pins spring-cloud-kubernetes 5.1.0 on Spring Boot 4.2.0). The container entrypoint is a thin Spring Boot launcher that wraps the BOM-managed upstream starter; no upstream code is modified or recompiled.

Kubernetes integration is disabled in the image default so the container can start outside a cluster. Enable it through the mounted /app/config/application.yml (or environment variables) when running inside Kubernetes.

Learn more on Spring⁠.

The tag of each spring-cloud-kubernetes docker image consists of the version of Spring Cloud Kubernetes and the version of the base image. The details are as follows

TagCurrentlyArchitectures
5.1.0-oe2403sp4⁠Spring Cloud Kubernetes 5.1.0 (train 2026.0.0) on openEuler 24.03-LTS-SP4amd64, arm64

⁠Usage

In this usage, users can select the corresponding {Tag} based on their requirements.

  • Pull the openeuler/spring-cloud-kubernetes image from docker

    docker pull openeuler/spring-cloud-kubernetes:{Tag}
    
  • Check the image version

    docker run --rm openeuler/spring-cloud-kubernetes:{Tag} cat /app/IMAGE_VERSION
    
  • Verify the container is healthy (integration disabled by default)

    docker run -d --name my-k8s-client -p 8080:8080 \
        openeuler/spring-cloud-kubernetes:{Tag}
    curl http://127.0.0.1:8080/actuator/health
    
  • Run inside a Kubernetes cluster

    Mount a configuration file that enables the integration, for example:

    spring:
      cloud:
        kubernetes:
          enabled: true
    
    docker run -d --name my-k8s-client -p 8080:8080 \
        -v "$(pwd)/application.yml:/app/config/application.yml" \
        openeuler/spring-cloud-kubernetes:{Tag}
    

    For application-embedded usage, add spring-cloud-starter-kubernetes-client to your own Maven build instead:

    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-kubernetes-client</artifactId>
    </dependency>
    

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:3a0c5ad60…

Size

230.7 MB

Last updated

about 22 hours ago

docker pull openeuler/spring-cloud-kubernetes