Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageactionscript3
titlesoa.json for type=daemon
{
    "type": "daemon",
	"subType": "cronJob",
    "name": "kubernetes",
    "group": "damongroup",
	"description": "This is the description of your cronJob daemon",
	"tab": {
    	"main": "kubernetes _cronjob",
    	"sub": "Subtype _Daemon"
  	},

    "port": 4100,
    "version": "1",

	"documentation": {
		"readme": "/doc/markupfile",
		"release": "/doc/markupfile"
	},

	//Search criteria
	"tags": ["tag1", "tag2"],
	"attributes": {
		"att1": ["att1.1", "att1.2"],
		"att2": ["att2.1", "att2.2"]
	},
	"program": ["soajs"],

	//Configuration
	"maintenance": {
        "port": {
            "type": "inherit"
        },
        "readiness": "/heartbeat"
    },
    "prerequisites": {
        "cpu": " ",
        "memory": " "
    },

	//Custom profile
 	"profile": {
        //free to add whatever you want
    }
}

...