mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
feat: typo
This commit is contained in:
@@ -338,7 +338,7 @@ OK: 8 MiB in 19 packages
|
||||
{"status":"Authors is healthy"}/opt/microservices # exit
|
||||
prepare to exit, cleaning up
|
||||
update ref count successfully
|
||||
clean up successful
|
||||
clean up successfully
|
||||
```
|
||||
|
||||
You can see that it will start up two containers with docker, mapping to pod two container, and share port with same
|
||||
@@ -507,7 +507,7 @@ app
|
||||
prepare to exit, cleaning up
|
||||
update ref count successfully
|
||||
ref-count is zero, prepare to clean up resource
|
||||
clean up successful
|
||||
clean up successfully
|
||||
root@4d0c3c4eae2b:/# exit
|
||||
exit
|
||||
```
|
||||
@@ -621,7 +621,7 @@ prepare to exit, cleaning up
|
||||
port-forward occurs error, err: lost connection to pod, retrying
|
||||
update ref count successfully
|
||||
ref-count is zero, prepare to clean up resource
|
||||
clean up successful
|
||||
clean up successfully
|
||||
```
|
||||
|
||||
This is because of your docker-desktop required resource is less than pod running request resource, it OOM killed, so
|
||||
|
||||
@@ -329,7 +329,7 @@ OK: 8 MiB in 19 packages
|
||||
{"status":"Authors is healthy"}/opt/microservices # exit
|
||||
prepare to exit, cleaning up
|
||||
update ref count successfully
|
||||
clean up successful
|
||||
clean up successfully
|
||||
```
|
||||
|
||||
此时本地会启动两个 container, 对应 pod 容器中的两个 container, 并且共享端口, 可以直接使用 localhost:port 的形式直接访问另一个 container,
|
||||
@@ -493,7 +493,7 @@ app
|
||||
prepare to exit, cleaning up
|
||||
update ref count successfully
|
||||
ref-count is zero, prepare to clean up resource
|
||||
clean up successful
|
||||
clean up successfully
|
||||
root@4d0c3c4eae2b:/# exit
|
||||
exit
|
||||
```
|
||||
@@ -604,7 +604,7 @@ prepare to exit, cleaning up
|
||||
port-forward occurs error, err: lost connection to pod, retrying
|
||||
update ref count successfully
|
||||
ref-count is zero, prepare to clean up resource
|
||||
clean up successful
|
||||
clean up successfully
|
||||
```
|
||||
|
||||
这是因为你的 `Docker-desktop` 声明的资源, 小于 container 容器启动时所需要的资源, 因此被 OOM 杀掉了, 你可以增加 `Docker-desktop` 对于 resources
|
||||
|
||||
@@ -32,7 +32,7 @@ func CmdQuit(f cmdutil.Factory) *cobra.Command {
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
_ = quit(cmd.Context(), true)
|
||||
_ = quit(cmd.Context(), false)
|
||||
fmt.Fprint(os.Stdout, "quit success")
|
||||
fmt.Fprint(os.Stdout, "quit successfully")
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ func (svr *Server) Leave(req *rpc.LeaveRequest, resp rpc.Daemon_LeaveServer) err
|
||||
log.Errorf("leave workload %s failed: %v", workload, err)
|
||||
continue
|
||||
}
|
||||
log.Infof("leave workload %s success", workload)
|
||||
log.Infof("leave workload %s successfully", workload)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -574,7 +574,7 @@ func (d *Options) doConnect(ctx context.Context, f cmdutil.Factory, conf *util.S
|
||||
}
|
||||
return
|
||||
}
|
||||
log.Infof("container connect to cluster success")
|
||||
log.Infof("container connect to cluster successfully")
|
||||
err = d.Copts.netMode.Set(fmt.Sprintf("container:%s", id))
|
||||
return
|
||||
default:
|
||||
|
||||
@@ -82,7 +82,7 @@ func (c *ConnectOptions) Cleanup() {
|
||||
}
|
||||
RollbackFuncList = RollbackFuncList[:]
|
||||
dns.CancelDNS()
|
||||
log.Info("clean up successful")
|
||||
log.Info("clean up successfully")
|
||||
util.CleanExtensionLib()
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ func (c *ConnectOptions) LeaveProxyResources(ctx context.Context) (err error) {
|
||||
log.Errorf("unpatch container error: %v", err)
|
||||
continue
|
||||
}
|
||||
log.Infof("leave resource: %s success", uid)
|
||||
log.Infof("leave resource: %s successfully", uid)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -360,7 +360,7 @@ func RolloutStatus(ctx1 context.Context, factory cmdutil.Factory, namespace, wor
|
||||
if err != nil {
|
||||
log.Errorf("rollout status for %s failed: %s", workloads, err.Error())
|
||||
} else {
|
||||
log.Infof("rollout status for %s success", workloads)
|
||||
log.Infof("rollout status for %s successfully", workloads)
|
||||
}
|
||||
}()
|
||||
client, _ := factory.DynamicClient()
|
||||
|
||||
Reference in New Issue
Block a user