https://github.com/awslabs/kubectl-connect

https://github.com/awslabs/kubectl-connect

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.0%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: awslabs
  • License: mit-0
  • Language: Go
  • Default Branch: main
  • Size: 34.2 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created over 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme Contributing License Code of conduct

README.md

kubectl-connect

```


| |___ | |_ ___ | || | _ ___ _ _ _ _ ___ _| | | / / || | '_ \/ -) _| _| | / _/ _ \ ' | ' \/ -) | _| |_\,|_./__|_|| __/|||||___|__| ```

Usage

Command Flags

``` Usage: kubectl connect [flags] kubectl [command]

Flags: -d, --destination string Destination pod name -h, --help help for kubectl -n, --namespace string Namespace (default "default") -p, --port int Port (default 22) -s, --source string Source pod name -t, --timeout int Timeout in seconds (default 10) ```

Usage Example

% kubectl connect -d pod02 -s pod01 -n default -p 22 Checking connectivity from pod01 to pod02 on port 22 in namepsace default.... SUCCESS! Connectivity between pod01 and pod02 is OK. Took 5.95197872s.

Installation

You can install kubectl connect either via source, or by using the Krew plugin manager.

Installation from Source:

```

Clone This Repo

% git clone git@github.com:awslabs/kubectl-connect && cd kubectl-connect

Pull Necessary Dependencies

% go get kubectl-connect

Build Package

% go build .

Move Plug-In Binary Into System Path

% sudo mv kubectl-connect /usr/local/bin ```

Note that if you need to compile this package for a non-native system architecture, such as building for x8664/Linux from aarch64/macOS for example; modify the above go build . command as follows: `GOOS=linux GOARCH=x8664 go build .`

Installation using Krew Plug-In Manager:

```

Install Package

% kubectl krew install kubectl-connect ```

Dependencies

  • kubectl - Kubernetes CLI Tool
  • krew - Plug-In Package Manager for kubectl
  • Go - Version 1.21

Bug Reports, Contributing and Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

Owner

  • Name: Amazon Web Services - Labs
  • Login: awslabs
  • Kind: organization
  • Location: Seattle, WA

AWS Labs

GitHub Events

Total
Last Year

Dependencies

.github/workflows/release.yml actions
  • actions/checkout v4 composite
  • actions/setup-go v4 composite
  • crazy-max/ghaction-import-gpg v3 composite
  • goreleaser/goreleaser-action v3 composite
go.mod go
  • github.com/inconshreveable/mousetrap v1.1.0
  • github.com/spf13/cobra v1.7.0
  • github.com/spf13/pflag v1.0.5
go.sum go
  • github.com/cpuguy83/go-md2man/v2 v2.0.2
  • github.com/inconshreveable/mousetrap v1.1.0
  • github.com/russross/blackfriday/v2 v2.1.0
  • github.com/spf13/cobra v1.7.0
  • github.com/spf13/pflag v1.0.5
  • gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
  • gopkg.in/yaml.v3 v3.0.1