Skip to content

Instantly share code, notes, and snippets.

package main
import (
"bytes"
"fmt"
"strings"
"testing"
)
func BenchmarkBytesBufferString(b *testing.B) {
@knsh14
knsh14 / kubernetes-basic-commands.md
Created June 21, 2018 19:59
kubernetes 勉強ログ

概要

  • node の中に pod がある
  • deployment
    • アプリケーションについての情報を持っている
  • service
    • deployment が外からアクセスを受けるためのワンクッション

コマンド 全部に kubectl がつくよ

確認コマンド

get

概要を確認する

name: Publish hugo blog
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
[[plugins]]
repo = 'Shougo/dein.vim'
[[plugins]]
repo = 'Shougo/vimproc.vim'
build = 'make'
[[plugins]]
repo = 'tpope/vim-fugitive.git'
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})