macos boot文件_在MacOS的Kubernetes(Minikube)上部署Spring Boot应用

macos boot文件

Spring-boot app is all about annotation based development and fast code deployments within embedded servers and all.

Spring-boot应用程序全部与基于注释的开发以及嵌入式服务器内的所有代码的快速部署有关。

To take it further, containerising a spring-boot is an added technical skill, which is in high demand currently.

更进一步,将弹簧靴容器化是一项附加的技术技能,目前对此有很高的要求。

So lets learn to containerise a spring-boot application. Here are the steps covered in this article:

因此,让我们学习如何对Spring-boot应用程序进行容器化。 这里是本文介绍的步骤:

  1. Install Virtual box

    安装虚拟盒子
  2. Install Kubernetes on MacOS (Minikube)

    在MacOS(Minikube)上安装Kubernetes
  3. Install network gateways (Istio-ingress)

    安装网络网关(Istio-ingress)
  4. Create docker image

    创建泊坞窗映像
  5. Create kubernetes yaml file

    创建kubernetes yaml文件
  6. Deploy on kubernetes cluster (minikube)

    部署在kubernetes集群(minikube)上
  7. Enable Port forwarding

    启用端口转发
  8. Monitor application deployment (Kiali and Lens)

    监视应用程序部署(Kiali和Lens)

Prerequisite : a. I assume you should know Spring-boot app creation and project setup before moving further. If you are not familiar with this, go through complete setup process in this article.

先决条件: 我假设您在进一步之前应该了解Spring-boot应用程序的创建和项目设置。 如果您对此不熟悉,请完成 本文中 完整的设置过程

b. Further, i assume you have an initial knowledge on how to create a Dockerfile to create docker image and how to create a kubernetes yaml file for deployments.

b。 此外,我假设您对如何创建Dockerfile以创建docker映像以及如何为部署创建kubernetes yaml文件具有初步的了解。

Let’s move with the scope of this article now.

现在让我们继续本文的范围。

1.安装虚拟盒子 (1. Install Virtual box)

Before installing Kubernetes (Minikube), let’s install virtualBox first. Minikube by default uses hyperkit as the VM, which has some connectivity issues with Docker images specifically on MacOS. So to get rid of those issues, we need Virtualbox as the VM.

在安装Kubernetes(Minikube)之前,让我们先安装virtualBox。 默认情况下,Minikube使用hyperkit作为VM,特别是在MacOS上,Docker镜像存在一些连接问题。 因此,要摆脱这些问题,我们需要Virtualbox作为VM。

Download the Virtual box dmg file for MacOS from

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值