共倒金荷家万里
English
往期整理
  •   文章分类
  •   文章标签
共倒金荷家万里
Article
44
Category
2
Tags
6
English
往期整理
文章分类
文章标签
work
contour-on-k8s
Post on: 2024-9-30
Last edited: 2024-9-30
Views
Kubernetes
type
status
date
slug
summary
tags
category
icon
password

使用Podman on Windows安装kind

Install Podman on Windows
get podman VM IP
e.g.
Install kubectl
点击settings->resources->kubectl
Install kind
点击左下角kind
Creating a kind cluster
点击settings->resources->kind
get kubernetes cluster master IP
e.g.

登录master安装contour

Deploy the Gateway provisioner:
Verify the Gateway provisioner deployment is available:
Create a GatewayClass:
Create a Gateway:
Verify the Gateway is available (it may take up to a minute to become available):
Verify the Contour pods are ready by running the following:

使用ingress暴露nginx服务

创建一个nginx deployment
创建一个nginx service
创建一个nginx ingress
由于envoy的service运行在kind中,我们无法直接从个人电脑访问,简单地修改envoy的daemonset(containerPort: 8080映射到hostPort: 80),再通过podman的http映射(containerPort: 80映射到hostPort: 9090)访问
访问nginx服务,使用浏览器打开http://local.projectcontour.io:9090/
notion image

使用Gateway API(HTTPRouteandTLSRoute)暴露nginx服务

删除nginx ingress
创建nginx HTTPRoute
访问nginx服务,使用浏览器打开http://local.projectcontour.io:9090/
notion image
  • Author:共倒金荷家万里
  • URL:https://tangly1024.com/article/11140ef0-3786-80f1-98f3-d96977a6a9f9
  • Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts
istio-on-k8s
fluentd&fluentbit-on-k8s
prometheus-on-k8s
kafka-on-k8s
EFK-on-k8s
zookeeper-on-k8s
prometheus-on-k8skafka-on-k8s
Loading...
Catalog
0%
使用Podman on Windows安装kind登录master安装contour使用ingress暴露nginx服务使用Gateway API(HTTPRouteandTLSRoute)暴露nginx服务
共倒金荷家万里
共倒金荷家万里
何日把酒言欢
Article
44
Category
2
Tags
6
Latest posts
RAGFlow practice
RAGFlow practice
2025-4-7
Dify practice
Dify practice
2025-4-7
DBMotion deployment
DBMotion deployment
2024-12-10
datebase deployment(on laptop)
datebase deployment(on laptop)
2024-11-8
mysql shell migrate mysql
mysql shell migrate mysql
2024-11-6
wordpress+mysql+minio development(on cloud service)
wordpress+mysql+minio development(on cloud service)
2024-11-6
Announcement
实践是检验真理的唯一标准
 
Catalog
0%
使用Podman on Windows安装kind登录master安装contour使用ingress暴露nginx服务使用Gateway API(HTTPRouteandTLSRoute)暴露nginx服务
2021-2025 共倒金荷家万里.

共倒金荷家万里 | 何日把酒言欢

Powered by NotionNext 4.7.3.