- Notifications
You must be signed in to change notification settings - Fork 44
add computer-k8s and computer-k8s-operator #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
128fe08
to 4d40f05
Compare ...k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/controller/Request.java Outdated Show resolved Hide resolved
...-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/controller/Result.java Outdated Show resolved Hide resolved
...-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/controller/Result.java Outdated Show resolved Hide resolved
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/util/KubeUtil.java Outdated Show resolved Hide resolved
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/util/KubeUtil.java Outdated Show resolved Hide resolved
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/util/KubeUtil.java Outdated Show resolved Hide resolved
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/util/KubeUtil.java Outdated Show resolved Hide resolved
filePattern="logs/$${date:yyyy-MM}/hugegraph-computer-k8s-operator-%d{yyyy-MM-dd}-%i.log"> | ||
<ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY"/> | ||
<PatternLayout pattern="%-d{yyyy-MM-dd HH:mm:ss} %-5r [%t] [%-5p] %c %x - %m%n"/> | ||
<SizeBasedTriggeringPolicy size="100MB"/> |
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.
update from https://github.com/hugegraph/hugegraph/pull/1492
c8abd4d
to 6bb8862
Compare this.informerFactory.startAllRegisteredInformers(); | ||
this.informerFactory.addSharedInformerEventListener(exception -> { | ||
LOG.error("Informer Exception occurred, but caught", exception); | ||
System.exit(1); |
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.
not allowed call System.exit, use return -1 instead
...rator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/AbstractController.java Outdated Show resolved Hide resolved
...rator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/AbstractController.java Outdated Show resolved Hide resolved
...rator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/AbstractController.java Outdated Show resolved Hide resolved
...rator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/AbstractController.java Show resolved Hide resolved
...rator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/AbstractController.java Outdated Show resolved Hide resolved
...rator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/AbstractController.java Outdated Show resolved Hide resolved
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/util/KubeUtil.java Outdated Show resolved Hide resolved
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/util/KubeUtil.java Outdated Show resolved Hide resolved
f44a17e
to 25d3efa
Compare 9e161a4
to 17f6895
Compare if (volumes == null) { | ||
volumes = new ArrayList<>(); | ||
} else { | ||
volumes = Lists.newArrayList(); |
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.
unexpected?
e59d886
to 2829a44
Compare * support log4j.properties * send succeed event * support remote jar
StringBuilder jvmOptionsBuilder = jvmOptions == null ? | ||
new StringBuilder() : | ||
new StringBuilder(jvmOptions.trim()); | ||
jvmOptionsBuilder.append(" ").append("-Duser.timezone=Asia/Shanghai"); |
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.
get from conf?
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.
ok
* move docker_push.sh to resource
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" | ||
SOURCE="$(readlink "$SOURCE")" | ||
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" | ||
function build_image() { |
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.
can we call dock_push.sh?
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.
need to install a Docker environment
No description provided.