Skip to content

Instantly share code, notes, and snippets.

@dtrapezoid
Created August 23, 2017 16:46
Show Gist options
  • Select an option

  • Save dtrapezoid/bb6c9930737e5f4ae9e5711534382cdf to your computer and use it in GitHub Desktop.

Select an option

Save dtrapezoid/bb6c9930737e5f4ae9e5711534382cdf to your computer and use it in GitHub Desktop.
simple kubernetes node startup app
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