简体   繁体   English

更新 Google Kube.netes 引擎 Web 应用程序的 Web 前端

[英]Update the Web-Front-End of a Google Kubernetes Engine Webapplication

i used this https://cloud.google.com/kube.netes-engine/docs/tutorials/guestbook?hl=de to bulid a Guestbook with Google Kube.netes Engine.我使用这个https://cloud.google.com/kube.netes-engine/docs/tutorials/guestbook?hl=de使用 Google Kube.netes Engine 构建了一个留言簿。 I applyed this an everything works.我应用了这个,一切正常。 Now i wanted to change the index.html for a better Look.现在我想更改 index.html 以获得更好的外观。 How can i upload or update the changed file?我如何上传或更新更改后的文件?

I tried to apply the frontend service again with this kubectl apply -f frontend-service.yaml But it did not work.我尝试使用此kubectl apply -f frontend-service.yaml再次应用前端服务,但它没有用。

You will have to rebuild the containers if you make changes to the source code.如果您更改源代码,则必须重建容器。 I suggest you:我建议你:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM