我按照文档操作,告诉我无法解析镜像名称,我使用的是自己的harbor,http已经设置了,这个tag名称到底要怎么写。。。



尝试了两种tag的写法,基本都不行,harbor已经创建了对应的仓库,1080端口设置了,http设置了
错误信息:
ISTIO_INBOUND_INTERCEPTION_MODE=
INBOUND_TPROXY_MARK=1337
ISTIO_INBOUND_TPROXY_MARK=
ISTIO_INBOUND_TPROXY_ROUTE_TABLE=
Variables:
ENABLE_INBOUND_IPV6=
ISTIO_SERVICE_EXCLUDE_CIDR=
----------
PROXY_PORT=15001
INBOUND_TPROXY_ROUTE_TABLE=133
OUTBOUND_IP_RANGES_EXCLUDE=
OUTBOUND_PORTS_EXCLUDE=
KUBEVIRT_INTERFACES=
Environment:
ISTIO_INBOUND_PORTS=
PROXY_UID=1337
INBOUND_INTERCEPTION_MODE=REDIRECT
OUTBOUND_IP_RANGES_INCLUDE=*
------------
ENVOY_PORT=
INBOUND_CAPTURE_PORT=
ISTIO_LOCAL_EXCLUDE_PORTS=
ISTIO_SERVICE_CIDR=
PROXY_INBOUND_CAPTURE_PORT=15006
INBOUND_PORTS_INCLUDE=*
INBOUND_PORTS_EXCLUDE=15020
+ iptables -t nat -N ISTIO_REDIRECT
+ iptables -t nat -A ISTIO_REDIRECT -p tcp -j REDIRECT --to-port 15001
+ iptables -t nat -N ISTIO_IN_REDIRECT
+ '[' '*' == '*' ']'
+ iptables -t nat -A ISTIO_IN_REDIRECT -p tcp -j REDIRECT --to-port 15006
+ table=nat
+ iptables -t nat -N ISTIO_INBOUND
+ '[' REDIRECT = TPROXY ']'
+ '[' -n '*' ']'
+ iptables -t nat -A PREROUTING -p tcp -j ISTIO_INBOUND
+ '[' '*' == '*' ']'
+ iptables -t nat -A ISTIO_INBOUND -p tcp --dport 22 -j RETURN
+ '[' -n 15020 ']'
+ for port in '${INBOUND_PORTS_EXCLUDE}'
+ iptables -t nat -A ISTIO_INBOUND -p tcp --dport 15020 -j RETURN
+ iptables -t nat -A ISTIO_INBOUND -p tcp -j ISTIO_IN_REDIRECT
+ '[' REDIRECT = TPROXY ']'
+ iptables -t nat -N ISTIO_OUTPUT
+ iptables -t nat -A OUTPUT -p tcp -j ISTIO_OUTPUT
+ '[' -n '' ']'
+ iptables -t nat -A ISTIO_OUTPUT -o lo -s 127.0.0.6/32 -j RETURN
+ '[' -z '' ']'
+ iptables -t nat -A ISTIO_OUTPUT -o lo '!' -d 127.0.0.1/32 -j ISTIO_IN_REDIRECT
+ iptables -t nat -A ISTIO_OUTPUT -m owner --uid-owner 1337 -j RETURN
+ for uid in '${PROXY_UID}'
+ for gid in '${PROXY_GID}'
+ iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 1337 -j RETURN
+ iptables -t nat -A ISTIO_OUTPUT -d 127.0.0.1/32 -j RETURN
+ '[' 0 -gt 0 ']'
+ iptables -t nat -A ISTIO_OUTPUT -j ISTIO_REDIRECT
+ '[' '*' == '*' ']'
+ '[' 1 -gt 0 ']'
+ set +o nounset
+ '[' -n '' ']'
+ ip6tables -F INPUT
+ ip6tables -A INPUT -m state --state ESTABLISHED -j ACCEPT
+ ip6tables -A INPUT -i lo -d ::1 -j ACCEPT
+ ip6tables -A INPUT -j REJECT
+ iptables-save
+ dump
# Generated by iptables-save v1.6.0 on Mon Jun 1 08:28:56 2020
:PREROUTING ACCEPT [0:0]
# Completed on Mon Jun 1 08:28:56 2020
*filter
:FORWARD ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
-A ISTIO_INBOUND -p tcp -m tcp --dport 22 -j RETURN
+ ip6tables-save
:POSTROUTING ACCEPT [0:0]
-A PREROUTING -p tcp -j ISTIO_INBOUND
COMMIT
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:ISTIO_OUTPUT - [0:0]
-A ISTIO_INBOUND -p tcp -m tcp --dport 15020 -j RETURN
-A ISTIO_IN_REDIRECT -p tcp -j REDIRECT --to-ports 15006
-A ISTIO_OUTPUT -s 127.0.0.6/32 -o lo -j RETURN
-A ISTIO_OUTPUT ! -d 127.0.0.1/32 -o lo -j ISTIO_IN_REDIRECT
# Generated by iptables-save v1.6.0 on Mon Jun 1 08:28:56 2020
:INPUT ACCEPT [0:0]
# Generated by iptables-save v1.6.0 on Mon Jun 1 08:28:56 2020
*nat
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A ISTIO_INBOUND -p tcp -j ISTIO_IN_REDIRECT
*mangle
COMMIT
# Completed on Mon Jun 1 08:28:56 2020
:ISTIO_INBOUND - [0:0]
:ISTIO_IN_REDIRECT - [0:0]
:ISTIO_REDIRECT - [0:0]
-A OUTPUT -p tcp -j ISTIO_OUTPUT
# Completed on Mon Jun 1 08:28:56 2020
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A ISTIO_OUTPUT -j ISTIO_REDIRECT
-A ISTIO_REDIRECT -p tcp -j REDIRECT --to-ports 15001
-A ISTIO_OUTPUT -m owner --gid-owner 1337 -j RETURN
-A ISTIO_OUTPUT -d 127.0.0.1/32 -j RETURN
COMMIT
# Completed on Mon Jun 1 08:28:56 2020
-A ISTIO_OUTPUT -m owner --uid-owner 1337 -j RETURN
COMMIT
# Generated by iptables-save v1.6.0 on Mon Jun 1 08:28:56 2020
*raw
-A INPUT -j REJECT --reject-with icmp6-port-unreachable
*filter
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
# Generated by ip6tables-save v1.6.0 on Mon Jun 1 08:28:56 2020
-A INPUT -m state --state ESTABLISHED -j ACCEPT
# Completed on Mon Jun 1 08:28:56 2020
# Generated by ip6tables-save v1.6.0 on Mon Jun 1 08:28:56 2020
:FORWARD ACCEPT [0:0]
-A INPUT -d ::1/128 -i lo -j ACCEPT
*nat
:PREROUTING ACCEPT [0:0]
# Completed on Mon Jun 1 08:28:56 2020
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
I0601 08:28:57.701163 1 docker.go:506] Using locally available image "192.168.5.64:5000/astrolabe/java-8-centos7:v2.1.0"
I0601 08:28:57.706071 1 docker.go:506] Using locally available image "192.168.5.64:5000/astrolabe/java-8-centos7:v2.1.0"
I0601 08:28:57.712814 1 docker.go:800] Image sha256:2c6e739c0ca5119ad46d44d307970d32d19ef3766230077580ef774da5feadc6 contains scripts-url set to "image:///usr/local/s2i"
I0601 08:28:57.712777 1 docker.go:506] Using locally available image "192.168.5.64:5000/astrolabe/java-8-centos7:v2.1.0"
I0601 08:28:57.714539 1 docker.go:800] Image sha256:ac3c7f3ffb7bc3a3aba93510a1d948a2a33970a1947b80122db92b810df39423 contains scripts-url set to "image:///usr/local/s2i"
I0601 08:28:57.714595 1 sti.go:205] Preparing to build 192.168.13.162:1080/jinchentest/java8-211:latest
I0601 08:28:57.714512 1 docker.go:506] Using locally available image "192.168.5.64:5000/astrolabe/java-8-runtime:v2.1.0"
I0601 08:28:57.716336 1 docker.go:506] Using locally available image "192.168.5.64:5000/astrolabe/java-8-runtime:v2.1.0"
I0601 08:28:57.718304 1 download.go:31] Start Download Binary b2i-jar-java8.jar
I0601 08:28:57.722125 1 fs.go:302] Removing directory '/tmp/s2i411051067'
I0601 08:28:57.722102 1 cleanup.go:33] Removing temporary directory /tmp/s2i411051067
I0601 08:28:57.722679 1 s2i.go:75] Build failed
E0601 08:28:57.722717 1 errors.go:307] An error occurred: Get http://ks-apiserver.kubesphere-system.svc/kapis/devops.kubesphere.io/v1alpha2/namespaces/jaceantest/s2ibinaries/b2i-jar-java8-jarlvkb/file/b2i-jar-java8.jar: dial tcp 10.233.3.141:80: connect: connection refused
2020-06-01T08:28:57.984663Z info FLAG: --envoyAccessLogService=""
2020-06-01T08:28:57.984670Z info FLAG: --envoyMetricsServiceAddress=""
2020-06-01T08:28:57.984724Z info FLAG: --log_caller=""
2020-06-01T08:28:57.984735Z info FLAG: --log_rotate=""
2020-06-01T08:28:57.984589Z info FLAG: --controlPlaneAuthPolicy="NONE"
2020-06-01T08:28:57.984608Z info FLAG: --customConfigFile=""
2020-06-01T08:28:57.984614Z info FLAG: --datadogAgentAddress=""
2020-06-01T08:28:57.984693Z info FLAG: --lightstepAccessToken=""
2020-06-01T08:28:57.984730Z info FLAG: --log_output_level="default:info"
2020-06-01T08:28:57.984562Z info FLAG: --concurrency="2"
2020-06-01T08:28:57.984569Z info FLAG: --configPath="/etc/istio/proxy"
2020-06-01T08:28:57.984619Z info FLAG: --disableInternalTelemetry="false"
2020-06-01T08:28:57.984655Z info FLAG: --drainDuration="45s"
2020-06-01T08:28:57.984676Z info FLAG: --help="false"
2020-06-01T08:28:57.984687Z info FLAG: --ip=""
2020-06-01T08:28:57.984699Z info FLAG: --lightstepAddress=""
2020-06-01T08:28:57.984480Z info FLAG: --applicationPorts="[]"
2020-06-01T08:28:57.984553Z info FLAG: --binaryPath="/usr/local/bin/envoy"
2020-06-01T08:28:57.984582Z info FLAG: --connectTimeout="10s"
2020-06-01T08:28:57.984637Z info FLAG: --discoveryAddress="istio-pilot.istio-system:15010"
2020-06-01T08:28:57.984711Z info FLAG: --lightstepSecure="false"
2020-06-01T08:28:57.984602Z info FLAG: --controlPlaneBootstrap="true"
2020-06-01T08:28:57.984642Z info FLAG: --dnsRefreshRate="300s"
2020-06-01T08:28:57.984649Z info FLAG: --domain="jaceantest.svc.cluster.local"
2020-06-01T08:28:57.984681Z info FLAG: --id=""
2020-06-01T08:28:57.984705Z info FLAG: --lightstepCacertPath=""
2020-06-01T08:28:57.984717Z info FLAG: --log_as_json="false"
2020-06-01T08:28:57.984795Z info FLAG: --log_target="[stdout]"
2020-06-01T08:28:57.984880Z info FLAG: --trust-domain=""
2020-06-01T08:28:57.985158Z info Obtained private IP [10.233.96.136]
2020-06-01T08:28:57.984748Z info FLAG: --log_rotate_max_backups="1000"
2020-06-01T08:28:57.984804Z info FLAG: --mixerIdentity=""
2020-06-01T08:28:57.984832Z info FLAG: --proxyComponentLogLevel="misc:error"
2020-06-01T08:28:57.984919Z info Version root@e2e6c7f1-ebc0-11e9-88bc-92a0cad2094d-docker.io/istio-1.3.3-3cfabd9b36bcf9b5af3c390982772e8f1e798618-Clean
2020-06-01T08:28:57.984810Z info FLAG: --parentShutdownDuration="1m0s"
2020-06-01T08:28:57.984857Z info FLAG: --statsdUdpAddress=""
2020-06-01T08:28:57.984875Z info FLAG: --templateFile=""
2020-06-01T08:28:57.985270Z info Proxy role: &model.Proxy{ClusterID:"", Type:"sidecar", IPAddresses:[]string{"10.233.96.136", "10.233.96.136"}, ID:"jjjjjj-b2i-28ec-6gq-b415d334957e-job-rz5g8.jaceantest", Locality:(*core.Locality)(nil), DNSDomain:"jaceantest.svc.cluster.local", TrustDomain:"cluster.local", PilotIdentity:"", MixerIdentity:"", ConfigNamespace:"", Metadata:map[string]string{}, SidecarScope:(*model.SidecarScope)(nil), MergedGateway:(*model.MergedGateway)(nil), ServiceInstances:[]*model.ServiceInstance(nil), WorkloadLabels:labels.Collection(nil), IstioVersion:(*model.IstioVersion)(nil)}
2020-06-01T08:28:57.984818Z info FLAG: --pilotIdentity=""
2020-06-01T08:28:57.984826Z info FLAG: --proxyAdminPort="15000"
2020-06-01T08:28:57.984754Z info FLAG: --log_rotate_max_size="104857600"
2020-06-01T08:28:57.984781Z info FLAG: --log_stacktrace_level="default:none"
2020-06-01T08:28:57.984869Z info FLAG: --statusPort="15020"
2020-06-01T08:28:57.984741Z info FLAG: --log_rotate_max_age="30"
2020-06-01T08:28:57.984838Z info FLAG: --proxyLogLevel="warning"
2020-06-01T08:28:57.984845Z info FLAG: --serviceCluster="jjjjjj-b2i-28ec-6gq-b415d334957e-job.jaceantest"
2020-06-01T08:28:57.984852Z info FLAG: --serviceregistry="Kubernetes"
2020-06-01T08:28:57.984887Z info FLAG: --zipkinAddress="jaeger-collector.istio-system.svc:9411"
2020-06-01T08:28:57.985284Z info PilotSAN []string(nil)
drainDuration: 45s
statNameLength: 189
2020-06-01T08:28:57.986770Z info Opening status port 15020
parentShutdownDuration: 60s
concurrency: 2
configPath: /etc/istio/proxy
discoveryAddress: istio-pilot.istio-system:15010
tracing:
envoyAccessLogService: {}
zipkin:
2020-06-01T08:28:57.986317Z info Effective config: binaryPath: /usr/local/bin/envoy
connectTimeout: 10s
envoyMetricsService: {}
2020-06-01T08:28:57.986393Z info PilotSAN []string(nil)
proxyAdminPort: 15000
serviceCluster: jjjjjj-b2i-28ec-6gq-b415d334957e-job.jaceantest
address: jaeger-collector.istio-system.svc:9411
2020-06-01T08:28:57.986589Z info Starting proxy agent
2020-06-01T08:28:57.986883Z info Received new config, resetting budget
2020-06-01T08:28:57.986977Z info Reconciling retry (budget 10)
2020-06-01T08:28:57.987120Z info Epoch 0 starting
2020-06-01T08:28:57.986986Z info watching /etc/certs for changes
2020-06-01T08:28:58.098199Z info Envoy command: [-c /etc/istio/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 45 --parent-shutdown-time-s 60 --service-cluster jjjjjj-b2i-28ec-6gq-b415d334957e-job.jaceantest --service-node sidecar~10.233.96.136~jjjjjj-b2i-28ec-6gq-b415d334957e-job-rz5g8.jaceantest~jaceantest.svc.cluster.local --max-obj-name-len 189 --local-address-ip-version v4 --allow-unknown-fields -l warning --component-log-level misc:error --concurrency 2]
[2020-06-01 08:28:58.118][24][warning][config] [external/envoy/source/server/options_impl.cc:193] --allow-unknown-fields is deprecated, use --allow-unknown-static-fields instead.
[2020-06-01 08:28:58.154][24][warning][config] [bazel-out/k8-opt/bin/external/envoy/source/common/config/_virtual_includes/grpc_stream_lib/common/config/grpc_stream.h:50] Unable to establish new stream
[2020-06-01 08:28:58.154][24][warning][config] [bazel-out/k8-opt/bin/external/envoy/source/common/config/_virtual_includes/grpc_stream_lib/common/config/grpc_stream.h:87] gRPC config stream closed: 14, no healthy upstream
2020-06-01T08:28:59.085107Z info Envoy proxy is NOT ready: server is not live, current state is: INITIALIZING
2020-06-01T08:29:00.711501Z info Envoy proxy is ready
[2020-06-01 08:58:20.890][24][warning][config] [bazel-out/k8-opt/bin/external/envoy/source/common/config/_virtual_includes/grpc_stream_lib/common/config/grpc_stream.h:87] gRPC config stream closed: 13,
