@@ -121,27 +121,6 @@ type OpenTelemetryClientConfiguration struct {
121
121
// URL of the collector that's running on the master.
122
122
// if URL is specified, APIServer uses the egressType Master when sending data to the collector.
123
123
URL *string ` json:"url,omitempty" protobuf:"bytes,3,opt,name=url"`
124
-
125
- // +optional
126
- // Service that's the frontend of the collector deployment running in the cluster.
127
- // If Service is specified, APIServer uses the egressType Cluster when sending data to the collector.
128
- Service *ServiceReference ` json:"service,omitempty" protobuf:"bytes,1,opt,name=service"`
129
- }
130
-
131
- // ServiceReference holds a reference to Service.legacy.k8s.io
132
- type ServiceReference struct {
133
- // `namespace` is the namespace of the service.
134
- // Required
135
- Namespace string ` json:"namespace" protobuf:"bytes,1,opt,name=namespace"`
136
- // `name` is the name of the service.
137
- // Required
138
- Name string ` json:"name" protobuf:"bytes,2,opt,name=name"`
139
-
140
- // If specified, the port on the service.
141
- // Defaults to 4317, the IANA reserved port for OpenTelemetry.
142
- // `port` should be a valid port number (1-65535, inclusive).
143
- // +optional
144
- Port *int32 ` json:"port,omitempty" protobuf:"varint,3,opt,name=port"`
145
124
}
146
125
```
147
126
0 commit comments