Comments (7)
Fix by #24
from spring-petclinic-cloud.
In DockerHub (but also on local desktop), we may have some name conflict between 2 repositories : spring-petclinic-cloud
and spring-petclinic-microservices
. See the issue #14 I propose to solve it. @patsevanton I'm pretty sure the one you are referencing come form the spring-petclinic-microservices
repository.
from spring-petclinic-cloud.
@odedia docker-compose is using and image build the provided Dockerfile
and the dockerize
utility.
Yesterday, I've published into Docker Hub images build with the mvn spring-boot:build-image -Pk8s -DREPOSITORY_PREFIX=${REPOSITORY_PREFIX} && ./scripts/pushImages.sh
command line (ie. Buildpacks) but they are not including dockerize
and are not compatible with docker compose.
You may pull them: springcommunity/spring-petclinic-cloud-visits-service (I've added the spring-petclin-cloud
prefix to avoid naming conflict)
I'm note sure that we still have to support docker compose (the spring-petclinic-microservices repo still does). Maybe it's confusing.
from spring-petclinic-cloud.
Test k8s and get error
Remove wavefron anywhere and run kubectl apply
kubectl apply -f init-namespace/01-namespace.yaml
kubectl apply -f init-services/02-config-map.yaml
kubectl apply -f init-services/03-role.yaml
kubectl apply -f init-services/05-api-gateway-service.yaml
kubectl apply -f init-services/06-customers-service-service.yaml
kubectl apply -f init-services/07-vets-service-service.yaml
kubectl apply -f init-services/08-visits-service-service.yaml
kubectl apply -f api-gateway-deployment.yaml
Error
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 32s default-scheduler Successfully assigned spring-petclinic/api-gateway-78c649f4df-hb228 to ecse00500c17
Warning InspectFailed 4s (x4 over 31s) kubelet Failed to apply default image tag "${REPOSITORY_PREFIX}/api-gateway:latest": couldn't parse image reference "${REPOSITORY_PREFIX}/api-gateway:latest": invalid reference format: repository name must be lowercase
Warning Failed 4s (x4 over 31s) kubelet Error: InvalidImageName
from spring-petclinic-cloud.
Hi, please see the README:
https://github.com/spring-petclinic/spring-petclinic-cloud#deploying-the-application
If you don't want to use the script, you can manually replace all occurrences of ${REPOSITORY_PREFIX}
with your docker registry endpoint
from spring-petclinic-cloud.
I am sorry. I see now https://github.com/spring-petclinic/spring-petclinic-cloud#deploying-the-application
I will try
export REPOSITORY_PREFIX=antonpatsev
mvn spring-boot:build-image -Pk8s -DREPOSITORY_PREFIX=${REPOSITORY_PREFIX} && ./scripts/pushImages.sh
P.S. Generated and added TOC #30
from spring-petclinic-cloud.
Build docker iamges in spring-petclinic-cloud and push custom docker registry
from spring-petclinic-cloud.
Related Issues (20)
- CloudFoundry deployment on PCF Dev HOT 5
- Give unique image name HOT 10
- Align k8s namespace to spring-petclinic HOT 5
- Support Azure Spring Cloud
- Fix typo in config-map.yaml - vists instead of visits HOT 3
- Unrecognized VM option 'UseCGroupMemoryLimitForHeap' when use java11 HOT 2
- How correct enable/disable endpoint of Spring Cloud via env variable? HOT 1
- Can i help for actualization readme? HOT 1
- deploying "customers-db-mysql": install: exit status 1 HOT 1
- couldn't parse image reference "${REPOSITORY_PREFIX} HOT 2
- java.sql.SQLSyntaxErrorException: Unknown database 'service_instance_db' HOT 2
- How deploy spring-petclinic-cloud to k8s without wavefront? HOT 9
- Remove use of Spring Cloud's bootstrap context HOT 1
- Consider using the official Spring Cloud Docker images
- how to deploy any war file or any html file into spring petclinic, is it possible? HOT 1
- how to deploy any war file or any html file into spring petclinic, is it possible? how to deploy anything by usnig this spring petclinic projetc HOT 1
- Skaffold Build Fails - Incompatible Maven Version
- Error: INSTALLATION FAILED: chart requires kubeVersion: >= 1.18.10 <= 1.20.5 HOT 3
- Switch to the spring-petclinic-cloud-config repo HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-petclinic-cloud.