Running rancher 1.14 using marathon on mesos, added vamp/consul/elastic search as well. Been creating hosts in rancher manually. Been using catalogs in rancher UI to start container services listed above. NOW started building a microservice in node.js to hit marathon and rancher and vamp with CRUD. The reading of rancher endpoints works great, thx. Using /V1 api endpoints that come up in rancher 1.14 API->> advanced -->> account keys endpoint.
Now I want to CREATE and DELETE hosts from Rancher API. Instructions online not for /V1 but for /V2-beta???
Have been trying to use examples and nothing is working. Been aiming at /V1 version of endpoints that work perfectly for reads.I am using account account keys BTW for security.
- Does V2-beta work with Rancher 1.1.4? Or do I have to upgrade to 1.2 to have those work?
- Does api version /V1 NOT support host/create and host/delete?
- DELETE /V1 endpoints are returning an error that METHOD is not supported. Is that an api version issue or is there a special syntax required for deleting hosts (or physical hosts)? or do I delete Instances?
- CREATE POST continues to tell me that there is a format error in my json file I created to hopefully create a fifth identical host in the mesos cluster under rancher. Is there a working file I can download to test to build an AWS instance that you know works correctly?