Created
August 23, 2017 16:46
-
-
Save dtrapezoid/bb6c9930737e5f4ae9e5711534382cdf to your computer and use it in GitHub Desktop.
simple kubernetes node startup app
This file contains hidden or 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
| package app; | |
| import org.apache.ignite.Ignite; | |
| import org.apache.ignite.IgniteException; | |
| import org.apache.ignite.Ignition; | |
| /** | |
| * A new Ignite-Kube Node will be started when this class gets executed. | |
| */ | |
| public class KubeNodeStartup { | |
| /** | |
| * Start up a Kube Node. | |
| * | |
| * @param args Command line arguments, none required. | |
| * @throws IgniteException If failed. | |
| */ | |
| public static void main(String[] args) throws IgniteException { | |
| Ignite ignite = Ignition.start("config/example-kube.xml"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment