Skip to content

Instantly share code, notes, and snippets.

apiVersion: k0sctl.k0sproject.io/v1beta1
kind: Cluster
metadata:
  name: bio-kubernetes
spec:
  hosts:
  - ssh:
      address: 192.168.122.58
      user: ubuntu
multipass launch -c 15 -m 20G -d 100G -n master --cloud-init cloud-init.yaml
multipass launch -c 15 -m 20G -d 100G -n worker1 --cloud-init cloud-init.yaml
multipass launch -c 15 -m 20G -d 100G -n worker2 --cloud-init cloud-init.yaml
multipass launch -c 15 -m 20G -d 100G -n worker3 --cloud-init cloud-init.yaml
multipass launch -c 15 -m 20G -d 100G -n worker4 --cloud-init cloud-init.yaml
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
Determining updates to Maven dependencies
------------------------------------------
mvn versions:display-dependency-updates
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>tomcat-run</id>
<goals>
<goal>exec-war-only</goal>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
portal:
image: nginx
ports:
- "8080:80"
volumes:
- /home/ramki/cluster/default.conf:/etc/nginx/conf.d/default.conf
links:
- tomcatOne:tomcat1
- tomcatTwo:tomcat2
- tomcatThree:tomcat3
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.dot.weather.join.mapside.withtool;
import com.dot.weather.join.mapside.*;
import com.dot.weather.join.reduceside.withtool.TemperatureVsHeightWithTool;
import java.io.BufferedReader;
@ramkicse
ramkicse / designer.html
Last active August 29, 2015 14:09
designer
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;