Socket
Book a DemoInstallSign in
Socket

@dxos/cli-machine

Package Overview
Dependencies
Maintainers
9
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/cli-machine

DxOS Machine CLI

latest
Source
npmnpm
Version
2.0.32
Version published
Maintainers
9
Created
Source

Machine CLI

wire machine allows automated creation and management of kubes in cloud hosting.

Commands

wire machine list

$ wire machine list
{
  "machines": [
    {
      "name": "kubec18e28d7",
      "created_at": "2020-05-26T21:25:20Z"
    },
    {
      "name": "kubef1145cc7",
      "created_at": "2020-05-26T21:25:23Z"
    },
    {
      "name": "kube087f310c",
      "created_at": "2020-05-28T14:51:55Z"
    }
  ]
}

wire machine create --name <optionalkubename> --memory <optionalmemorysize>

$ wire machine create
{
  "machine": {
    "name": "kube087f310c"
  }
}

Memory sizes supported: 1,2,4,8,16,32G. Note that sizes smaller than 4G may not allow base Kube services to operate.

wire machine publish --name <kubename>

$ /home/david/projects/dxos/incubator/node_modules/.bin/wire machine publish --name kube087f310c
{
  "machine_data": {
    "name": "kube087f310c",
    "dns_name": "kube087f310c.boxes.dxos.network",
    "wrn": "kube.dxos.network/box087f310c"
  }
}

Configuration

Obtain an API access token for Digital Ocean and a GitHub Personal Access Token:

In wire profile:

services:
  machine:
    doAccessToken: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    githubAccessToken: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    dnsDomain: 'kube.dxos.network'

FAQs

Package last updated on 17 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts