- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for repair (0.17 sec)
-
cni/pkg/repair/repair_test.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package repair import ( "fmt" "strings" "testing" "time" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" klabels "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 24 03:31:28 GMT 2023 - 10.6K bytes - Viewed (0) -
cni/pkg/cmd/root.go
registerBooleanParameter(constants.AmbientEnabled, false, "Whether ambient controller is enabled") // Repair registerBooleanParameter(constants.RepairEnabled, true, "Whether to enable race condition repair or not") registerBooleanParameter(constants.RepairDeletePods, false, "Controller will delete pods when detecting pod broken by race condition")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
// We will get an event every time the pod changes. The repair is not instantaneous, though -- it will only recover // once the pod restarts (in CrashLoopBackoff), which can take some time. // We don't want to constantly try to apply the iptables rules, which is unneeded and will fail. // Instead, we track which UIDs we repaired and skip them if already repaired. //
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
redir.excludeInboundPorts = strings.TrimSpace(redir.excludeInboundPorts) if len(redir.excludeInboundPorts) > 0 && redir.excludeInboundPorts[len(redir.excludeInboundPorts)-1] != ',' { redir.excludeInboundPorts += "," } redir.excludeInboundPorts += "15020,15021,15090" redir.excludeInboundPorts = strings.Join(dedupPorts(splitPorts(redir.excludeInboundPorts)), ",")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
internal/grid/connection.go
for i := 0; i < messages; i++ { if atomic.LoadUint32((*uint32)(&c.state)) != StateConnected { cancel(ErrDisconnected) return } var next []byte next, remain, err = msgp.ReadBytesZC(remain) if err != nil { gridLogIf(ctx, fmt.Errorf("ws read merged: %w", err)) cancel(ErrDisconnected) return } m.Payload = nil subID, _, err = m.parse(next)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 42.6K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
} return sCfg.Optimize == "capacity" } // AvailabilityOptimized - returns true if the storage-class is availability // optimized, meaning we will use additional parities when drives are offline // to retain parity SLA. // // Default is "availability" optimized. func (sCfg *Config) AvailabilityOptimized() bool { ConfigLock.RLock() defer ConfigLock.RUnlock() if !sCfg.initialized { return true }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 11.8K bytes - Viewed (0) -
cmd/batch-expire.go
} versionsCount++ } else { continue } if versionsCount <= matchedFilter.Purge.RetainVersions { continue // retain versions } toDel = append(toDel, expireObjInfo{ ObjectInfo: result, }) } // Send any remaining objects downstream if len(toDel) > 0 { select { case <-ctx.Done():
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 21K bytes - Viewed (1) -
cmd/erasure-healing.go
bucket, object, versionID), err } if disksToHealCount == 0 { // Nothing to heal! return result, nil } // After this point, only have to repair data on disk - so // return if it is a dry-run if dryRun { return result, nil } if !latestMeta.XLV1 && !latestMeta.Deleted && disksToHealCount > latestMeta.Erasure.ParityBlocks {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 06:32:14 GMT 2024 - 33.1K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
iptablesBuilder.AppendRule( iptableslog.UndefinedCommand, iptablesconstants.POSTROUTING, iptablesconstants.NAT, "-j", ChainHostPostrouting, ) // TODO BML I don't think we need UDP? TCP healthcheck redir should catch everything. // This is effectively an analog for Istio's old-style podSpec-based health check rewrites. // Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
src/archive/zip/zip_test.go
} uint16string := strings.Repeat(".", uint16max) remain := wantLen for remain > 0 { commentLen := int(uint16max) - directoryHeaderLen - 1 thisRecLen := directoryHeaderLen + int(uint16max) + commentLen if int64(thisRecLen) > remain { remove := thisRecLen - int(remain) commentLen -= remove thisRecLen -= remove } remain -= int64(thisRecLen) f, err := w.CreateHeader(&FileHeader{
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0)