Skip to content

Commit 927a16f

Browse files
committed
kubecon: remove "fctr" in favor of "ctr"
1 parent e125885 commit 927a16f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

kubecon.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,25 @@ pe "sudo systemctl status firecracker-containerd"
3636
pe "cat /etc/systemd/system/firecracker-containerd.service"
3737

3838
# Let's look at what images are here
39-
fctr i rm ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest >/dev/null 2>/dev/null
40-
pe "fctr i ls"
39+
ctr i rm ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest >/dev/null 2>/dev/null
40+
pe "ctr i ls"
4141

4242
# Let's try pulling an image from ECR
4343
pe "ecr-pull ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest"
44-
pe "fctr i ls"
44+
pe "ctr i ls"
4545

4646
# Let's see what it looks like to run it
4747
pe "uname -a"
4848
pe "cat /etc/os-release"
49-
pe "fctr run --runtime aws.firecracker --rm --tty ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest demo"
49+
pe "ctr run --runtime aws.firecracker --rm --tty ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest demo"
5050

5151
# Do the same inside the VM
5252
# uname -a -> an Amazon Linux kernel (amzn2) with a different hostname
5353
# cat /etc/os-release -> same thing you'd see in Docker, this is a normal container inside a VM
5454

5555
# Let's look at what happens on the host
56-
fctr c rm demo-sleep >/dev/null 2>/dev/null
57-
pe "fctr run --runtime aws.firecracker --rm --detach ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest demo-sleep sleep 60"
56+
ctr c rm demo-sleep >/dev/null 2>/dev/null
57+
pe "ctr run --runtime aws.firecracker --rm --detach ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest demo-sleep sleep 60"
5858
pe "pidof firecracker-containerd"
5959
pe "sudo pstree -sS $(pidof firecracker-containerd)"
6060

0 commit comments

Comments
 (0)