Comments (6)
Did you deploy the ingress-controller?
doc: https://kubernetes.io/zh/docs/concepts/services-networking/ingress/
from axon-devops.
Maybe I should learn more about k8s.
However, IMHO, the doc may need a guide that starting from zero.
Appreciate for your time, I will close this issue.
from axon-devops.
Maybe I should learn more about k8s. However, IMHO, the doc may need a guide that starting from zero. Appreciate for your time, I will close this issue.
Yes, will update the doc later
from axon-devops.
Can we reopen the issue?
I get the same problem and looks like this repository is using a deprecated version of Kubernetes extensions. Check: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122
I think k8s-deploy/k8s/ingress/axon-ingress.yaml should be using apiVersion: networking.k8s.io/v1
instead of apiVersion: extensions/v1beta1
(deprecated).
from axon-devops.
I think k8s-deploy/k8s/ingress/axon-ingress.yaml should be using
apiVersion: networking.k8s.io/v1
instead ofapiVersion: extensions/v1beta1
(deprecated).
Thanks, will have a try later.
And do you mean get the error error: resource mapping not found for name: "axon-ingress" namespace: "axon" from "./k8s/ingress/axon-ingress.yaml": no matches for kind "Ingress" in version "extensions/v1beta1" ensure CRDs are installed first
? If yes ,please follow #66 (comment).
from axon-devops.
I think k8s-deploy/k8s/ingress/axon-ingress.yaml should be using
apiVersion: networking.k8s.io/v1
instead ofapiVersion: extensions/v1beta1
(deprecated).Thanks, will have a try later.
And do you mean get the error
error: resource mapping not found for name: "axon-ingress" namespace: "axon" from "./k8s/ingress/axon-ingress.yaml": no matches for kind "Ingress" in version "extensions/v1beta1" ensure CRDs are installed first
? If yes ,please follow #66 (comment).
Yes. My version of k8:
➜ k8s-deploy git:(35406eb) ✗ kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.25.0
Kustomize Version: v4.5.7
Server Version: v1.25.0
I tried running nginx ingress by using helm command and without and it didn't help:
helm upgrade --install ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace nginx-ingress --create-namespace
It seems that after updating the file is started working:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: axon
annotations:
kubernetes.io/ingress.class: "nginx"
name: axon-ingress
spec:
rules:
- host: axon1-testnet-monitor.nervos.tech
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: axon1
port:
number: 8100
- host: axon2-testnet-monitor.nervos.tech
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: axon2
port:
number: 8100
- host: axon3-testnet-monitor.nervos.tech
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: axon3
port:
number: 8100
- host: axon4-testnet-monitor.nervos.tech
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: axon4
port:
number: 8100
from axon-devops.
Related Issues (6)
- Use Kubernetes Secrets instead of ConfigMaps for storing private keys/mnemonic? HOT 2
- How to generate private key for Axon node toml configuration? HOT 3
- Unable to run Axon in a local Kubernetes cluster HOT 12
- Consider upgading `Ingress` API Version from `extensions/v1beta1` to `networking.k8s.io/v1` HOT 4
- Readme.md incorrect spelling of solidity constract HOT 1
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 axon-devops.