LogoLogo
Deploy NowCommunity Careers
  • Introduction to StackAI
  • Litepaper
  • FAQs
    • Introductory FAQs
    • Technical FAQs
    • Project/App FAQ
    • Financial FAQs
  • Tokens
    • Add $STACK to MetaMask
    • Buy $STACK Tokens
  • App Deployment on StackOS
    • Custom App Deployment
    • AppStore App Deployment
    • Deploy a Containerized Application on StackOS
  • Basic Operations
    • Create WebTTY
    • WebTTY, Logs, Shell Access
    • Practice - Persistent Data, Alternate User
    • Reset StackOS Account
    • Map a container port
    • Custom DNS
    • Custom SSL
    • Account Funding - General
    • Pod Launch - General
  • Preparing Custom Images
    • Docker Hub Intro
    • GitHub, DockerHub and StackOS Integration
  • App Store Notes
    • Redis on StackOS
    • Memcached on StackOS
    • Presearch on StackOS
    • Wordpress on StackOS
    • Jenkins on StackOS
    • WebDAV on StackOS
  • Useful Apps
    • phpMyAdmin (Mysql Web Admin)
  • Wordpress Operations
    • Launching a Wordpress app on StackOS
    • WordPress Migration
    • Account Funding - Wordpress
    • Upload limit increase
    • SSL Mixed Content Resolution
    • Wordpress Domain Change
  • Other Applications
    • Python Applications
    • RSK
  • 0xMarket
    • Viewing your NodeNFT
    • Listing your NodeNFT
    • Buying a NodeNFT
Powered by GitBook
On this page
  • ✅ Prepare your WebTTY
  • ✅ List your Pods
  • ✅ Exec a shell (ssh-like access)
  • ✅ Get the logs
  • ✅ Quickly Check HTTP
  • ✅ Working with ReplicaSets
  1. Basic Operations

WebTTY, Logs, Shell Access

PreviousCreate WebTTYNextPractice - Persistent Data, Alternate User

Last updated 3 years ago

✅ Prepare your WebTTY

✅ List your Pods

Use command kubectl get pods to see the list of all pods.

✅ Exec a shell (ssh-like access)

To execute the shell, use command kubectl exec -ti appname-0xADDRESS-random -- bash

Your WebTTY will now switch to a command line for your pod.

✅ Get the logs

kubectl logs -f appname-0xADDRESS-random

✅ Quickly Check HTTP

curl appname-0xADDRESS

This is really helpful for checking function internally before trying to debug external access

✅ Working with ReplicaSets

ReplicaSets "manage" the pods/containers that you ultimately interact with.

Sometimes after changing configurations on the WebUI, you may have an old replica set that does not automatically go away. It could be waiting on a shutdown or some other resource.

You can list replica sets, look for the oldest one matching the application you are managing and delete the old ReplicaSet

kubectl get rs

Locate the "rs" you wish to delete

kubectl delete rs rsname-0xADDRESS-random

Create WebTTY