Bigstack

Bigstack

  • Docs

›Compute Node(HCI)

Introduction

  • Overview

Installation

  • Control Converged
  • Control
  • Compute node (HCI)
  • Storage node (SDS)
  • NIC configuration

    • Network bonding
    • VLAN
    • VLAN on bonding

    High Availability

    • Network offload
    • Control node
    • Compute node
    • Storage node

Quick Start

  • Get Started

Compute

  • flavors
  • images
  • images(CLI)
  • instances
  • Instance Snapshot

Volumes

  • Volume
  • Snapshots
  • Backup
  • Transfer

Network

  • Internet
  • Private Network(LAN)
  • Router
  • Security Group
  • Floating IP
  • Load Balancers

    • Create a Load Balancer
    • Delete a Load Balancer

DNS

  • Create Public Record
  • Create Private Record

Object Store

  • Object Storage
  • Object Storage (S3 API)

File Store

  • Tenant Share

Identity

  • Create a project
  • Modify Quota
  • Create a User
  • Create a group

Storage

  • Add a disk
  • Remove a disk
  • Prepare disk
  • Remove osd
  • Cache
  • Restful API

Disaster Recovery

  • Start scheduler
  • Full Backup
  • Incremental Backup
  • Cleanup
  • Schedule job
  • Increase quota

Kubernetes

    Instance (VM)

    • Create Template
    • Deploy Cluster
    • Storage Class
    • Workload with L4 LoadBalancer

    Compute Node(HCI)

    • Deploy Cluster
    • Storage Class

Monitoring

  • Host
  • Storage
  • Network
  • Instance
  • Top Hosts
  • Top Instances

Logs

  • Alert
  • Notification

    • Email
    • Slack
  • ELK Stack

Maintenance

  • Startup
  • Shutdown
  • Add/Remove a Harddisk
  • Repair Services
  • Fixpack
  • Update CubeOS
  • Support file
  • Export Instance
  • Create CubeOS snapshot
  • Restore CubeOS with snapshot
  • Remove Compute node
  • Remove Storage node

Download

  • Cloud Image

Operating System

  • CentOS 6 - root disk
  • MS Windows

    • Retrieve password
    • Extend partition

Create Storage Class with Ceph backend

Connect to controller

$ ssh [email protected]
Welcome to the Cube Appliance
Enter "help" for a list of available commands

run kubernetes > storage_create

sky2> kubernetes 
sky2:kubernetes> storage_create
1: ubuntu
2: k8s
3: baremetal
Enter index: 3
{"level":"info","timestamp":"2020-11-03T15:34:58+08:00","msg":"Ceph storage class created"}

Go to your cluster and check up the Storage class

assets/k8s/ceph01.png

Select Storage Class from Storage's dropdown menu

assets/k8s/ceph02.png

a Ceph RBD storage class has been created

assets/k8s/ceph03.png

Click on Default project under cluster - baremetal

assets/k8s/ceph04.png

on the volumes tab and click on Add Volume

assets/k8s/ceph05.png

Create a Volume Claim

assets/k8s/ceph06.png

A new Persistent Volume Claim has been created

assets/k8s/ceph07.png

Create a workload using PV/PVC

apiVersion: v1
kind: Pod
metadata:
  name: my-ceph-pv-pod
spec:
  volumes:
    - name: my-ceph-pv-storage
      persistentVolumeClaim:
        claimName: my-ceph-volume
  containers:
    - name: task-pv-container
      image: nginx
      ports:
        - containerPort: 80
          name: "http-server"
      volumeMounts:
        - mountPath: "/usr/share/nginx/html"
          name: my-ceph-pv-storage

Enter your workload shell and check up

assets/k8s/ceph08.png

Last updated on 12/9/2020
← Deploy ClusterHost →
  • Connect to controller
    • run kubernetes > storage_create
    • Go to your cluster and check up the Storage class
    • Select Storage Class from Storage's dropdown menu
    • a Ceph RBD storage class has been created
    • Click on Default project under cluster - baremetal
    • on the volumes tab and click on Add Volume
    • Create a Volume Claim
    • A new Persistent Volume Claim has been created
    • Create a workload using PV/PVC
    • Enter your workload shell and check up
Copyright © 2021 Bigstack Co., Ltd.