Closed mcyydscc closed 1 year ago
请确定有设置 appsettings.json
[root@master ctf_test]# kubectl -n my-ctf get pod
NAME READY STATUS RESTARTS AGE
ctf-db-54d5bccb79-prhtw 1/1 Running 0 110m
[root@master ctf_test]# kubectl -n my-ctf get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
myctf-svc NodePort 10.100.226.87
无发访问
有k8s部署教程吗
师傅您好,在第一个GZCTF目录下输入docker-compose up时,出现以下报错
xt) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) GZCTF | at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) GZCTF | at Program.<Main>$(String[] args) in /home/runner/work/GZCTF/GZCTF/GZCTF/Program.cs:line 225 GZCTF | at Program.<Main>(String[] args) GZCTF exited with code 139