This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Liguang Xie
committed
Jul 13, 2021
1 parent
85de8fb
commit d6ed075
Showing
2 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d6ed075
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make it work from inside Kubernetes, also needs to replace this line:
spec:
serviceAccountName: ignite-alcor-ip
containers:
- name: ignite-alcor-ip-node
image: ignite_alcor:lib8
imagePullPolicy: IfNotPresent
#resources:
#requests:
#cpu: "16"
env:
- name: OPTION_LIBS
value: ignite-kubernetes,ignite-rest-http
- name: CONFIG_URI
value: https://raw.githubusercontent.com/kevin-zhonghao/alcor/xml/kubernetes/services/ignite_ip_config.xml <<>>
in kubernetes/services/ignite_alcor_ip.yaml
with a URL which points to the updated ignite config file:
either https://github.com/futurewei-cloud/alcor/blob/master/kubernetes/services/ignite_config.xml, or a private one but accessible from inside kubernetes.
If PM and MAC are somehow involved in these errors, kubernetes/services/ignite_alcor_mac.yaml and kubernetes/services/ignite_alcor_port.yaml will also need similar modifications (change cache mode to TRANSACTIONAL and the links in these files).